/* ===============================
   Login Section Styling (Dark)
   =============================== */

/* Login Section Background */
.login {
    background-image: url('__PATH_TEMPLATE_IMG__/login-background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
}

/* Login Container */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Login Box */
.login-box {
    background: #1e1e1e; /* Dark background */
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    width: 100%;
    max-width: 500px;
    text-align: center;
    animation: fade-in 0.4s ease-out;
    border: 1px solid #333;
}

/* Login Title */
.login-title {
    font-size: 28px;
    font-weight: bold;
    color: #ffb320;
    margin-bottom: 20px;
}

/* Form Group */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

/* Input Fields */
.form-input {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 6px;
    color: #fff;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    border-color: #ffb320;
    background: #333;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 12px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 6px;
    background-color: #ffb320;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background-color: #ffd85e;
}

/* Forgot Password Link */
.forgot-password {
    display: inline-block;
    margin-top: 10px;
    font-size: 14px;
    color: #aaa;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #ffb320;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .login-box {
        padding: 20px;
        max-width: 90%;
    }
}

.content-wrapper {
    min-height: 85vh;
}

/* ===============================
   General Account Page Styling (Dark)
   =============================== */

.account-container {
    max-width: 800px;
    margin: auto;
    padding: 20px;
    align-items: center;
}

.vote-container {
    max-width: 1000px;
    margin: auto;
    padding: 20px;
    align-items: center;
}

/* Account Information Styling */
.account-info-container {
    display: flex;
    flex-direction: column;
    background: #1e1e1e;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    margin-bottom: 20px;
    transition: all 0.3s ease;
    border: 1px solid #333;
}

.account-info-container:hover {
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.3);
}

.account-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #2a2a2a;
}

.account-info-item:last-child {
    border-bottom: none;
}

.info-title {
    font-weight: bold;
    color: #ffb320;
}

.info-value {
    color: #ddd;
}

/* ===============================
   Character List & Card Styling (Dark)
   =============================== */

.character-list-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.character-card {
    background: #1e1e1e;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: calc(25% - 20px);
    min-width: 220px;
    max-width: 280px;
    overflow: hidden;
    text-align: center;
    border: 1px solid #333;
}

.character-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(255, 152, 0, 0.3);
}

.character-avatar {
    width: 100%;
    height: 150px;
    border-radius: 12px;
    transition: transform 0.5s ease;
    margin-bottom: 15px;
    object-fit: cover;
}

.character-card:hover .character-avatar {
    transform: scale(1.05);
}

.character-name {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #ffb320;
}

.character-location {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 10px;
}

/* ===============================
   Vote Section (Dark)
   =============================== */

.vote-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 40px auto;
    max-width: 1000px;
    padding: 0 20px;
}

.vote-card {
    background: #1e1e1e;
    border: 1px solid #333;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    width: 100%;
	height: 245px;
}

.vote-card:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 15px rgba(255, 152, 0, 0.3);
}

.vote-banner img {
    width: 100%;
    height: 60px;
    object-fit: none;
    object-position: center;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}


.vote-details {
    text-align: center;
    padding: 15px;
}

.vote-details h3 {
    font-size: 1.1em;
    color: #ffb320;
    margin: 10px 0;
}

.remaining-time {
    font-size: 0.9em;
    color: #e74c3c;
    font-weight: bold;
    margin: 5px 0;
}

/* Vote Button */
.btnVote {
    display: inline-block;
    padding: 10px 25px;
    font-size: 14px;
    color: #fff;
    background-color: #ffb320;
    border: none;
    border-radius: 50px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
    text-decoration: none;
    margin-top: 10px;
}

.btnVote:hover {
    background-color: #ffd85e;
    color: #131313;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btnVote[disabled] {
    background-color: #555;
    color: #999;
    cursor: not-allowed;
    box-shadow: none;
}

@media (max-width: 600px) {
    .vote-container {
        display: block;
    }
    .vote-card {
        margin-bottom: 20px;
    }
}

/* ===============================
   Clear Stats Button (Matches .site-btn)
   =============================== */

   .clear-stats-btn {
    font-size: 14px; /* Matches .site-btn */
    padding: 12px 25px; /* Matches .site-btn */
    color: #fff;
    background-color: #ffb320; /* Matches .site-btn */
    border-radius: 25px; /* Matches .site-btn */
    text-transform: uppercase;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    cursor: pointer;
    font-weight: 600;
    text-align: center;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Consistent shadow */
}

/* Hover Effect (Same as .site-btn) */
.clear-stats-btn:hover {
    background-color: #ffd85e;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

/* Disabled State */
.clear-stats-btn:disabled {
    background: #555;
    cursor: not-allowed;
    box-shadow: none;
    color: #888;
}

/* Responsive Adjustments */
@media (max-width: 480px) {
    .clear-stats-btn {
        font-size: 13px;
        padding: 10px 20px;
    }
}



/* Responsive Design */
@media (max-width: 576px) {
    .vote-card {
        max-width: 100%; /* Allow the card to scale down on small screens */
    }

    .vote-details h3 {
        font-size: 1em; /* Adjust font size for smaller screens */
    }

    .btnVote {
        font-size: 0.9em;
    }
}

/* Dark Theme Styling */
.donation-card {
    background: #1e1e1e;
    border: 1px solid #333;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.donation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.donation-card h4 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #f1c40f;
}

.donation-card .form-control {
    background: #2c2c2c;
    color: #ddd;
    padding: 10px;
    font-size: 14px;
    border-radius: 4px;
    border: 1px solid #444;
}

.site-btn {
    margin-top: 15px;
    font-size: 14px; /* Matches .site-btn */
    padding: 12px 25px; /* Matches .site-btn */
    color: #fff;
    background-color: #ffb320; /* Matches .site-btn */
    border-radius: 25px; /* Matches .site-btn */
    text-transform: uppercase;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    cursor: pointer;
    font-weight: 600;
    text-align: center;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Consistent shadow */
}

.site-btn:hover {
    background-color: #e67e22;
    color: #fff;
}

/* Styling for Important Notes */
.donation-notes {
    background: #252525;
    padding: 20px;
    border: 1px solid #333;
    border-radius: 8px;
    font-size: 14px;
    color: #bbb;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.donation-notes h4 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #f1c40f;
}

.donation-notes ul {
    padding-left: 20px;
    list-style-type: disc;
    line-height: 1.8;
}

.donation-notes ul li {
    margin-bottom: 10px;
    color: #bbb;
}

.donation-notes ul li span {
    display: inline-block;
    color: #e74c3c;
    font-weight: bold;
}

.donation-notes ul li strong {
    color: #fff;
}

/* Highlight the "You will receive" text */
.donation-card p {
    margin-top: 10px;
    padding: 10px;
    background: #2c2c2c;
    border: 1px solid #f39c12;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    text-align: center;
}

.donation-card p span {
    display: inline-block;
    margin-left: 5px;
}

.donation-card p span#result {
    font-size: 20px;
    color: #f39c12;
}

/* Password Page Styling */
.password-page {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 40px 20px;
    background-color: #f9f9f9;
}


/* General Page Styling */
.email-page, .password-page {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 40px 20px;
    background-color: #f9f9f9;
}

/* Message Container */
.message-container {
    margin-bottom: 20px;
    max-width: 400px;
    text-align: center;
}

/* Form Container Styling */
.email-change-container, .password-change-container {
    background: #ffffff;
    padding: 30px 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

/* Form Styling */
.email-change-form, .password-change-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Form Labels */
.form-label {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
    text-align: left;
}

/* Input Fields */
.form-input {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    background: #f7f7f7;
    border: 1px solid #ccc;
    border-radius: 6px;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    border-color: #ffb320;
    outline: none;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 12px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 6px;
    background-color: #ffb320;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-submit:hover {
    background-color: #ffd85e;
}

/* Responsive Design */
@media (max-width: 768px) {
    .email-change-container, .password-change-container {
        padding: 20px;
    }

    .form-label {
        font-size: 14px;
    }

    .btn-submit {
        font-size: 16px;
    }
}

/* Password Recovery Page */
.password-recovery-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 20px;
    background: #121212; /* Dark background */
    color: #e2e2e2;
}

.password-recovery-box {
    background: #1e1e1e; /* Dark box background */
    border-radius: 8px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    max-width: 500px;
    width: 100%;
    padding: 30px 40px;
    text-align: center;
    animation: fade-in 0.4s ease-out;
    border: 1px solid #333;
}

.password-recovery-title {
    font-size: 24px;
    font-weight: bold;
    color: #ffb320; /* Highlighted title color */
    margin-bottom: 20px;
}

/* Form Group */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-label {
    font-size: 14px;
    font-weight: bold;
    color: #ffb320; /* Matching label color */
    margin-bottom: 5px;
}

.form-input {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    background: #2a2a2a; /* Darker input background */
    border: 1px solid #444;
    border-radius: 6px;
    color: #fff;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    border-color: #ffb320;
    background: #333;
    outline: none;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 12px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 6px;
    background-color: #ffb320;
    color: #131313;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-submit:hover {
    background-color: #ffd85e;
    transform: translateY(-2px);
}

/* Message Styling */
.message {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    color: #ddd;
}

.message.success {
    background-color: #1e3329;
    color: #4caf50;
    border-left: 5px solid #4caf50;
}

.message.error {
    background-color: #3d1e1e;
    color: #e74c3c;
    border-left: 5px solid #e74c3c;
}

/* Animation */
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .password-recovery-box {
        padding: 20px;
        max-width: 90%;
    }

    .password-recovery-title {
        font-size: 20px;
    }

    .btn-submit {
        font-size: 16px;
    }
}


.register-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    background: #121212; /* Dark background */
    color: #e2e2e2; /* Light text color */
}

.register-card {
    background: #1e1e1e; /* Dark card background */
    padding: 30px 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 500px;
    border: 1px solid #333;
}

.register-form .form-group {
    margin-bottom: 20px;
    text-align: left;
}

.register-form label {
    font-weight: bold;
    margin-bottom: 8px;
    display: block;
    color: #ffb320; /* Highlighted label color */
}

.form-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #444;
    border-radius: 6px;
    background: #2a2a2a; /* Darker input background */
    font-size: 16px;
    color: #fff;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    border-color: #ffb320;
    background: #333;
}

.form-help {
    font-size: 12px;
    color: #777;
}

.btn-submit {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    color: #131313;
    background: #ffb320;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-weight: bold;
}

.btn-submit:hover {
    background: #ffd85e;
}

.recaptcha-container {
    text-align: center;
    margin-bottom: 20px;
}


/* Referral System Container */
.referral-container {
    background: #1b1b1b;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
    color: #fff;
    max-width: 800px; /* Restricts width */
    margin: 0 auto; /* Centers content */
    margin-top: 50px;
    margin-bottom: 50px;
}

/* Page Title */
.page-title {
    font-size: 22px;
    font-weight: bold;
    text-transform: uppercase;
    color: #f2f2f2;
    margin-bottom: 20px;
    text-align: center;
}

/* Referral Section */
.referral-section {
    margin-bottom: 30px;
    padding: 15px;
    background: #252525;
    border-radius: 8px;
    border: 1px solid #333;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

/* Section Titles */
.referral-section h3 {
    font-size: 18px;
    font-weight: bold;
    color: #ff9c3e;
    margin-bottom: 15px;
}

/* Referral Link Input */
.referral-input {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #222;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #444;
    width: 100%;
}

.referral-input .form-control {
    flex: 1;
    padding: 12px;
    font-size: 14px;
    background: transparent;
    border: none;
    color: #ddd;
    outline: none;
    font-weight: bold;
}

.referral-input .form-control::placeholder {
    color: #888;
}

/* Copy Button */
.copy-btn {
    padding: 10px 15px;
    font-size: 13px;
    font-weight: bold;
    background: #ff7b00;
    color: #fff;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.copy-btn:hover {
    background: #ff9c3e;
    transform: scale(1.05);
}

/* Copied Message */
#copied-message {
    color: #4CAF50;
    font-size: 14px;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

/* Referral Table */
.table-wrapper {
    max-width: 100%;
    overflow-x: auto;
}

.referral-table {
    width: 100%;
    border-collapse: collapse;
    background: #292929;
    border-radius: 8px;
    overflow: hidden;
}

.referral-table thead {
    background: #ff7b00;
    color: #fff;
    text-transform: uppercase;
}

.referral-table th,
.referral-table td {
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid #444;
    font-size: 14px;
    color: #ddd;
}

.referral-table tbody tr:hover {
    background: rgba(255, 123, 0, 0.1);
}

/* Status Styles */
.status-completed {
    color: #4CAF50;
    font-weight: bold;
}

.status-pending {
    color: #ff3b3b;
    font-weight: bold;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .referral-container {
        padding: 15px;
        max-width: 100%;
    }

    .referral-input {
        flex-direction: column;
        gap: 8px;
    }

    .copy-btn {
        width: 100%;
    }

    .referral-table th,
    .referral-table td {
        font-size: 12px;
        padding: 10px;
    }
}

/* Dark Theme for Email Change Page */
.email-page {
    background: #121212; /* Dark background */
    color: #e2e2e2; /* Light text color */
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.email-change-container {
    background: #1e1e1e; /* Dark container background */
    padding: 30px 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 500px;
    border: 1px solid #333;
}

.email-change-form .form-group {
    margin-bottom: 20px;
    text-align: left;
}

.email-change-form label {
    font-weight: bold;
    margin-bottom: 8px;
    display: block;
    color: #ffb320; /* Highlighted label color */
}

.email-change-form .form-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #444;
    border-radius: 6px;
    background: #2a2a2a; /* Darker input background */
    font-size: 16px;
    color: #fff;
    transition: border-color 0.3s ease;
}

.email-change-form .form-input:focus {
    border-color: #ffb320;
    background: #333;
}

.email-change-form .btn-submit {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    color: #131313;
    background: #ffb320;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-weight: bold;
}

.email-change-form .btn-submit:hover {
    background: #ffd85e;
}
/* Dark Theme for Password Change Page */
.password-page {
    background: #121212; /* Dark background */
    color: #e2e2e2; /* Light text color */
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.password-change-container {
    background: #1e1e1e; /* Dark container background */
    padding: 30px 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 500px;
    border: 1px solid #333;
}

.password-change-form .form-group {
    margin-bottom: 20px;
    text-align: left;
}

.password-change-form label {
    font-weight: bold;
    margin-bottom: 8px;
    display: block;
    color: #ffb320; /* Highlighted label color */
}

.password-change-form .form-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #444;
    border-radius: 6px;
    background: #2a2a2a; /* Darker input background */
    font-size: 16px;
    color: #fff;
    transition: border-color 0.3s ease;
}

.password-change-form .form-input:focus {
    border-color: #ffb320;
    background: #333;
}

.password-change-form .btn-submit {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    color: #131313;
    background: #ffb320;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-weight: bold;
}

.password-change-form .btn-submit:hover {
    background: #ffd85e;
}

/* Message Styling */
.message-container {
    margin-bottom: 20px;
    max-width: 400px;
    text-align: center;
}

.message {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    color: #ddd;
}

.message.success {
    background-color: #1e3329;
    color: #4caf50;
    border-left: 5px solid #4caf50;
}

.message.error {
    background-color: #3d1e1e;
    color: #e74c3c;
    border-left: 5px solid #e74c3c;
}
.referral-help {
    margin-top: 20px;
    padding: 5px;
    background: #2c2f33;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.help-text {
    color: #f39c12;
    font-size: 14px;
    line-height: 1.5;
}

.referral-guide-link {
    color: #f39c12;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.referral-guide-link:hover {
    color: #e67e22;
}
