@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&family=Space+Grotesk:wght@300..700&display=swap');

.account-nav {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0;
}

.account-tab {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    cursor: pointer;
    transition: all var(--transition-default);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.account-tab:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.03);
}

.account-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: rgba(140, 82, 255, 0.05);
}

.account-tab i {
    font-size: 0.9rem;
}

/* Account Sections */
.account-section {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.account-section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Account Content Layout */
.account-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.account-column {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.account-column h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 1.5rem 0;
    color: var(--text);
}

/* Warning Box */
.warning-box {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.warning-box i {
    color: #f59e0b;
    font-size: 1.1rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.warning-box p {
    color: var(--text);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Account Form */
.account-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.account-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.account-form label {
    color: var(--text);
    font-weight: 500;
    font-size: 0.9rem;
}

.account-form input,
.account-form select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    color: var(--text);
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: all var(--transition-default);
    outline: none;
}

.account-form input:focus,
.account-form select:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 2px rgba(140, 82, 255, 0.2);
}

.account-form input[readonly] {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-muted);
    cursor: not-allowed;
}

.account-form select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.account-form select option {
    padding: 0.5rem;
    background: var(--background);
    color: var(--text);
}

/* Notification Settings */
.notification-settings {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.notification-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: all var(--transition-default);
}

.notification-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-color-light);
}

.notification-info {
    flex: 1;
}

.notification-info h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 0.5rem 0;
}

.notification-info p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    width: 50px;
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: background var(--transition-default);
    flex-shrink: 0;
}

.toggle-switch.active {
    background: var(--primary);
}

.toggle-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform var(--transition-default);
}

.toggle-switch.active .toggle-slider {
    transform: translateX(26px);
}

/* Password Section */
.password-content {
    max-width: 600px;
    margin: 0 auto;
}

.password-content h2 {
    font-size: 2rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    color: var(--text);
    text-align: center;
}

.password-description {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 2rem 0;
    text-align: center;
}

.password-form {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.password-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.password-form label {
    color: var(--text);
    font-weight: 500;
    font-size: 0.9rem;
}

.password-form input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    color: var(--text);
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: all var(--transition-default);
    outline: none;
}

.password-form input:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 2px rgba(140, 82, 255, 0.2);
}

/* Account Actions */
.account-actions {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.update-btn {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-default);
    font-family: var(--font-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 200px;
    justify-content: center;
}

.update-btn:hover {
    background: rgba(140, 82, 255, 0.9);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(140, 82, 255, 0.3);
}

.update-btn:active {
    transform: translateY(0);
}

.update-btn i {
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .account-nav {
        flex-wrap: wrap;
        gap: 0.25rem;
    }

    .account-tab {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .account-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .account-column {
        padding: 1.5rem;
    }

    .notification-item {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .toggle-switch {
        align-self: flex-end;
    }

    .password-content {
        padding: 0 1rem;
    }

    .password-form {
        padding: 1.5rem;
    }

    .update-btn {
        width: 100%;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .account-tab {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }

    .account-tab i {
        display: none;
    }

    .account-column {
        padding: 1rem;
    }

    .password-form {
        padding: 1rem;
    }

    .warning-box {
        flex-direction: column;
        gap: 0.5rem;
    }
}

.login-body {
    background: var(--background);
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
}

.modern-login-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    width: 100%;
    height: 100vh;
    max-width: 100vw;
    overflow: hidden;
}

.login-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 2rem;
    overflow-y: auto;
    background: var(--background);
    height: 100vh;
    max-height: 100vh;
}

.login-content {
    width: 100%;
    max-width: 460px;
}

.login-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.brand-logo {
    width: 45px;
    height: 45px;
    border-radius: 10px;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.5px;
}

.login-heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 1.5rem 0;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.alert {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.alert i {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.social-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-default);
    cursor: pointer;
    margin-bottom: 1.5rem;
}

.social-login-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-login-btn i {
    font-size: 1.2rem;
}

.whmcs-btn {
    background: linear-gradient(135deg, rgba(140, 82, 255, 0.2), rgba(140, 82, 255, 0.1));
    border-color: rgba(140, 82, 255, 0.3);
}

.whmcs-btn:hover {
    background: linear-gradient(135deg, rgba(140, 82, 255, 0.3), rgba(140, 82, 255, 0.2));
    border-color: var(--primary);
}

.login-separator {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
}

.login-separator::before,
.login-separator::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.login-separator span {
    padding: 0 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.modern-login-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-field label {
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
}

.label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.forgot-link {
    color: var(--primary);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color var(--transition-default);
}

.forgot-link:hover {
    color: rgba(140, 82, 255, 0.8);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    transition: all var(--transition-default);
}

.input-wrapper i {
    position: absolute;
    left: 1rem;
    color: var(--text-muted);
    font-size: 1rem;
    pointer-events: none;
}

.input-wrapper input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text);
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: all var(--transition-default);
    outline: none;
}

.input-wrapper input::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

.input-wrapper input:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(140, 82, 255, 0.1);
}

.input-wrapper.focused {
    transform: translateY(-1px);
}

.input-wrapper.focused i {
    color: var(--primary);
}

.toggle-password {
    position: absolute;
    right: 0.75rem;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--transition-default);
    border-radius: 6px;
}

.toggle-password:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
}

.toggle-password i {
    position: static;
    font-size: 1rem;
}

.signin-btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: var(--primary);
    border: none;
    border-radius: var(--border-radius);
    color: white;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all var(--transition-default);
    margin-top: 0.25rem;
}

.signin-btn:hover {
    background: rgba(140, 82, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(140, 82, 255, 0.4);
}

.signin-btn:active {
    transform: translateY(0);
}

.login-footer-links {
    margin-top: 1.5rem;
    text-align: center;
}

.signup-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0 0 0.75rem 0;
}

.signup-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-default);
}

.signup-link:hover {
    color: rgba(140, 82, 255, 0.8);
}

.legal-text {
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.5;
    margin: 0;
}

.legal-text a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-default);
}

.legal-text a:hover {
    color: rgba(140, 82, 255, 0.8);
}

.whats-new-section {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    height: 100vh;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.whats-new-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 100%;
    pointer-events: none;
}

.whats-new-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 50%;
    height: 70%;
    pointer-events: none;
}

.whats-new-content {
    width: 100%;
    max-width: 600px;
    padding: 3rem;
    position: relative;
    z-index: 1;
}

.whats-new-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(140, 82, 255, 0.3), transparent);
}

.whats-new-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #8c52ff 0%, #6b46c1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 2rem 0;
    letter-spacing: -0.5px;
}

.changelog-item {
    display: none;
    animation: fadeInSlide 0.5s ease-in-out;
}

.changelog-item.active {
    display: block;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.changelog-date {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 1rem 0;
    font-weight: 500;
}

.changelog-heading {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin: 0 0 1.5rem 0;
    line-height: 1.2;
    letter-spacing: -0.5px;
    text-shadow: 0 0 30px rgba(140, 82, 255, 0.15);
}

.changelog-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin: 0;
}

.changelog-pagination {
    display: flex;
    gap: 0.75rem;
    margin-top: 3rem;
    align-items: center;
}

.pagination-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all var(--transition-default);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pagination-dot:hover {
    background: rgba(140, 82, 255, 0.3);
    border-color: rgba(140, 82, 255, 0.5);
    transform: scale(1.1);
}

.pagination-dot.active {
    background: var(--primary);
    border-color: var(--primary);
    width: 14px;
    height: 14px;
    box-shadow: 0 0 12px rgba(140, 82, 255, 0.5);
}

@media (max-width: 1024px) {
    .modern-login-container {
        grid-template-columns: 1fr 1fr;
    }

    .whats-new-content {
        max-width: 500px;
        padding: 2rem;
    }

    .whats-new-title {
        font-size: 2rem;
    }

    .changelog-heading {
        font-size: 1.75rem;
    }

    .changelog-description {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .modern-login-container {
        grid-template-columns: 1fr;
    }

    .whats-new-section {
        display: none;
    }

    .login-section {
        padding: 2rem 1.5rem;
    }

    .login-heading {
        font-size: 1.75rem;
    }

    .brand-logo {
        width: 40px;
        height: 40px;
    }

    .brand-name {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .login-section {
        padding: 1.5rem 1rem;
    }

    .login-brand {
        margin-bottom: 2rem;
    }

    .login-heading {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .social-login-btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }

    .input-wrapper input {
        padding: 0.75rem 1rem 0.75rem 2.75rem;
        font-size: 0.95rem;
    }

    .signin-btn {
        padding: 0.875rem 1.25rem;
    }

    .form-field label {
        font-size: 0.9rem;
    }

    .forgot-link {
        font-size: 0.85rem;
    }
}
