@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat/static/Montserrat-Thin.ttf') format('truetype');
    font-weight: 100;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat/static/Montserrat-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat/static/Montserrat-Light.ttf') format('truetype');
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat/static/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat/static/Montserrat-Medium.ttf') format('truetype');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat/static/Montserrat-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat/static/Montserrat-Bold.ttf') format('truetype');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat/static/Montserrat-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat/static/Montserrat-Black.ttf') format('truetype');
    font-weight: 900;
    font-display: swap;
}

h2 {
    margin-bottom: 20px;
}
.accountmodal {
    position: fixed;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: rgba(225, 255, 255, 0.4);
    backdrop-filter: blur(0.6px);
    -webkit-backdrop-filter: blur(0.6px); /* Safari support */
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 1000;
    font-family: system-ui, -apple-system, sans-serif;
}

.accountmodal.visible {
    visibility: visible;
    opacity: 1;
}

.accountmodal form {
    width: 400px;
    max-width: 70vw;
    padding: 24px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
}

.close.closeacc {
    position: absolute;
    right: 12px;
    top: 12px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.accountmodal h3 {
    text-align: center;
    margin: 0 0 20px 0;
    font-weight: 500;
    color: #1e293b;
}

.initial-fields label {
    display: flex;
    align-items: center;
    padding: 16px;
    margin-bottom: 8px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.initial-fields label:hover:not(.comingsoon) {
    border-color: #3b82f6;
    background: #f8faff;
}

.initial-fields input[type="radio"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    margin-right: 12px;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.initial-fields input[type="radio"]:checked {
    border-color: #3b82f6;
    background: #3b82f6;
}

.initial-fields input[type="radio"]:checked::after {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.initial-fields input[type="radio"]:hover:not(:disabled) {
    border-color: #9ca3af;
}

.initial-fields label:has(input:checked) {
    border-color: #3b82f6;
    background: #dbeafe;
    color: #1e40af;
}

.googlelogo,
.icloudlogo,
.mexchangelogo {
    width: auto;
    height: 24px;
    margin-right: 12px;
    flex-shrink: 0;
}

.comingsoon {
    opacity: 0.5;
    cursor: not-allowed !important;
}

.comingsoon span {
    margin-left: auto;
    font-size: 12px;
    color: #9ca3af;
}

.comingsoon input[type="radio"] {
    cursor: not-allowed;
}

.initial-fields br {
    display: none;
}

.quit,
.continue,
.connect {
    padding: 10px 16px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s ease;
    margin-top: 20px;
    -webkit-appearance: none;
    appearance: none;
    -webkit-border-radius: 6px;
    -webkit-box-sizing: border-box;
    -webkit-user-select: none;
}

.quit {
    background: #f3f4f6;
    color: #374151;
}

.continue,
.connect {
    background: #3b82f6;
    color: #fff;
    width: 78%;
    margin-left: 8px;
}

.continue:hover,
.connect:hover {
    background: #2563eb;
}

.quit:hover {
    background: #e5e7eb;
}

.button-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    gap: 12px;
}

.button-container .quit {
    margin-top: 0;
}

.button-container .continue {
    margin-top: 0;
    margin-left: 0;
    width: auto;
    flex: 1;
}

.continue,
.connect {
    background: #3b82f6;
    color: white;
    width: 78%;
    margin-left: 8px;
}

.continue:hover,
.connect:hover {
    background: #2563eb;
}

.quit:hover {
    background: #e5e7eb;
}

/*NEW ACC BTNS*/
.addaccbtns {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.account-cancel-btn, .account-add-btn {
    -webkit-appearance: none;
    appearance: none;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.2s ease;
    box-sizing: border-box;
    -webkit-border-radius: 8px;
    height: 44px;
    padding: 0 20px;
}

.account-cancel-btn {
    background: #f3f4f6;
    color: #374151;
    flex: 1;
}

.account-cancel-btn:hover {
    background: #e5e7eb;
}

.account-add-btn {
    background: #3b82f6;
    color: white;
    flex: 4;
}

.account-add-btn:hover {
    background: #2563eb;
}

.smtp-fields {
    display: none;
}

.smtp-field {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.smtp-field label {
    width: 30%;
    text-align: right;
    margin-right: 12px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    padding: 0;
    border: none;
    background: none;
    cursor: default;
}

.smtp-field input,
.smtp-field select {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 14px;
    background: #fff;
    color: #374151;
    transition: border-color 0.2s ease;
}

.smtp-field select {
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.smtp-field input:focus,
.smtp-field select:focus {
    outline: none;
    border-color: #3b82f6;
}

.smtp-field input::placeholder {
    color: #9ca3af;
}

.hr {
    height: 1px;
    background: #e5e7eb;
    margin: 16px 0;
}

.connect {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    float: right;
}

.connect span {
    display: inline-block;
}


.btn-manage-billing {
    background: #007bff;
    color: white;
    padding: 8px 16px;
    border: none;
    letter-spacing: 0.4px;
    font-family: 'Montserrat';
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    margin-top: 10px;
}

.btn-manage-billing:hover {
 background: #0056b3;
}
/*Billing*/
/* Keep existing settings-card styles */
.settings-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
}

.settings-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #333;
}

/* Badge styles */
.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
}

.badge-success {
    background-color: #e6f7ed;
    color: #0a875a;
}

/* Button styles */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #4f46e5;
    color: white;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
    font-family: inherit;
}

.btn-primary:hover {
    background-color: #4338ca;
}

/* Invoice link */
.invoice-action {
    text-align: center;
}

.invoice-link {
    display: inline-flex;
    color: #6b7280;
    transition: color 0.2s;
}

.invoice-link:hover {
    color: #374151;
}


/* Account */
.billing-settings-card {
    max-width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 16px;
    padding: 20px 20px 15px 20px;
}
.billing-settings-card:last-child{
    margin-bottom: 0px;
}

/* Billing Settings Title */
.billing-settings-title {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-align: center;
}

/* Billing Subscription Container */
.billing-subscription-container {
    max-width: 100%;
}

.billing-subscription-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f3f4f6;
}

.billing-subscription-plan {
    font-weight: 500;
    font-size: 15px;
    color: #111827;
}

/* Billing Badges */
.billing-badge {
    padding: 4px 12px;
    border-radius: 3px;
    font-size: 9px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.billing-badge-success {
    background-color: #d1fae5;
    color: #065f46;
}

/* Billing Subscription Details */
.billing-subscription-details {
    margin-bottom: 5px;
}

.billing-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f9fafb;
}

.billing-detail-row:last-child {
    border-bottom: none;
}

.billing-detail-label {
    font-size: 11px;
    color: #6b7280;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.billing-detail-value {
    font-size: 13px;
    color: #111827;
    font-weight: 500;
}

/* Billing Subscription Actions */
.billing-subscription-actions {
    display: flex;
    justify-content: flex-end;
}

.billing-btn-primary {
    padding: 8px 20px;
    background-color: #3b82f6;
    color: white;
    border: none;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 100px;
}

.billing-btn-primary:hover {
    background-color: #2563eb;
    transform: translateY(-1px);
}

/* Billing Payment History */
.billing-payment-history-container {
    overflow-x: auto;
}

.billing-payment-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.billing-payment-table th {
    padding: 8px 12px;
    text-align: center;
    font-weight: 500;
    color: #6b7280;
    border-bottom: 1px solid #e5e7eb;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 10px;
}

.billing-payment-table td:last-child {
    border-color: #e5e7eb;
}
.billing-payment-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #f3f4f6;
    color: #111827;
    text-align: center;
}

.billing-payment-table tbody tr:hover {
    background-color: #f9fafb;
}

.billing-invoice-action {
    text-align: center;
    width: 40px;
}

.billing-invoice-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 3px;
    background-color: #f3f4f6;
    color: #6b7280;
    text-decoration: none;
    transition: all 0.2s ease;
}

.billing-invoice-link:hover {
    background-color: #e5e7eb;
    color: #374151;
    transform: translateY(-1px);
}

.billing-invoice-link svg {
    width: 14px;
    height: 14px;
}

/* Billing Empty States */
.billing-subscription-empty,
.billing-payment-history-empty {
    text-align: center;
    padding: 24px 16px;
}

.billing-empty-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}

.billing-empty-icon svg {
    color: #9ca3af;
    width: 20px;
    height: 20px;
}

.billing-empty-message {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 16px;
}
@media (max-width: 600px) {
    .hide-mobile {
        display: none;
    }
}

.inner-tabs {
    display: flex;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 20px;
}

.inner-tab-btn {
    background: none;
    border: none;
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    transition: all 0.15s ease;
    position: relative;
}

.inner-tab-btn:hover {
    color: #1e293b;
}

.inner-tab-btn.active {
    color: #4f46e5;
}

.inner-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #4f46e5;
}

/* Tab content */
.inner-tab-content {
    display: none;
}

.inner-tab-content.active {
    display: block;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Form styling */
.profile-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 540px;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-label {
    font-size: 14px;
    font-weight: 500;
    color: #475569;
}

.input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 12px;
    color: #94a3b8;
}

.form-input {
    width: 100%;
    padding: 10px 12px 10px 38px;
    font-size: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background-color: #f8fafc;
    color: #0f172a;
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: #6366f1;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-input::placeholder {
    color: #cbd5e1;
}

.form-hint {
    font-size: 12px;
    color: #64748b;
    margin-top: 3px;
}

/* Button styles */
.btn-save {
    padding: 8px 14px;
    background-color: #4f46e5;
    color: white;
    font-size: 14px;
    font-weight: 500;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
    font-family: inherit;
}

.btn-save:hover {
    background-color: #4338ca;
}

.btn-primary {
    padding: 8px 14px;
    background-color: #4f46e5;
    color: white;
    font-size: 14px;
    font-weight: 500;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-primary:hover {
    background-color: #4338ca;
}

.btn-secondary {
    padding: 8px 14px;
    background-color: transparent;
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.btn-secondary:hover {
    background-color: #f1f5f9;
    color: #475569;
}

/* Spinner Styles */
.mtp-fields .spinner {
    animation: spin 0.8s linear infinite;
    width: 20px;
    height: 20px;
    border-width: 3px;
    border-style: solid;
    border-color: transparent transparent #fff transparent;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none; /* Hide spinner by default */
}

/* Keyframes for spinner animation */
@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(359deg); }
}

.account-container {
    max-width: 800px;
    margin: 0 auto;
}

.account-header {
    margin-bottom: 2rem;
}

.account-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.text-secondary {
    color: #64748b;
}

.flex-between .form-group:last-child{
    font-size: 12px;
    margin-top: 4px;
}

#Account .profile-card {
 background: white;
 border-radius: 8px;
 box-shadow: 0 1px 3px rgba(0,0,0,0.1);
 padding: 24px;
 margin-bottom: 24px;
}

#Account .card-header {
 margin-bottom: 24px;
}

#Account .card-header h3 {
 font-size: 18px;
 font-weight: 600;
 margin-bottom: 8px;
}

#Account .card-header p {
 color: #666;
 font-size: 14px;
}

#Account .form-group {
 margin-bottom: 20px;
}

#Account .form-group label {
 display: block;
 margin-bottom: 8px;
 font-weight: 500;
}

#Account .form-group input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
}

#Account .form-actions {
 display: flex;
 align-items: center;
 justify-content: flex-end;
 gap: 12px;
 padding-top: 16px;
}

#Account .status-row {
 display: flex;
 justify-content: space-between;
 align-items: center;
 margin-bottom: 16px;
}

#Account .status-badge.active {
 background: #dcfce7;
 color: #166534;
 padding: 4px 12px;
 border-radius: 12px;
 font-size: 14px;
}
.settings-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;

}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th {
    color: #666;
    font-weight: 500;
    text-align: left;
    padding: 12px;
    border-bottom: 1px solid #eee;
}

.table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
}

.table tr:hover {
    background-color: #f9f9f9;
}

.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.badge-success {
    background-color: #e6f4ea;
    color: #1e7e34;
}
/* 2FA */
/* Security Section */
#Security .sec {
    max-height: 60vh;
    overflow: auto;
}

.sec {
    max-width: 1000px;
    margin: 0 auto;
    padding: .75rem;
}

.sec__panel {
    background: linear-gradient(to bottom,#fff,#fafbfc);
    border: 1px solid #f0f0f0;
    border-radius: 6px;
    padding: .75rem;
    margin-bottom: .75rem;
    transition: box-shadow .2s;
}

.sec__panel:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,.02);
}

.sec__grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1.25rem;
}

.sec__title {
    font-size: .938rem;
    color: #1a1a1a;
    font-weight: 500;
    margin-bottom: .25rem;
    letter-spacing: -.01em;
}

.sec__desc,
.sec__info {
    font-size: .813rem;
    color: #666;
    line-height: 1.4;
}

.sec__info {
    margin-bottom: .5rem;
}


/* Password Strength Indicator */
.password-strength {
    width: 100%;
    height: 4px;
    background: #f0f0f0;
    border-radius: 2px;
    margin: .5rem 0;
}

.password-strength-bar {
    height: 100%;
    width: 0;
    border-radius: 2px;
    transition: all .3s;
}

.password-strength-bar.strength-weak {
    width: 33.33%;
    background: #ef4444;
}

.password-strength-bar.strength-medium {
    width: 66.66%;
    background: #f59e0b;
}

.password-strength-bar.strength-strong {
    width: 100%;
    background: #10b981;
}

/* Password Requirements */
.password-requirements {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.password-requirements.hidden {
    display: none;
}

.password-requirements.show {
    opacity: 1;
    max-height: 200px;
    margin-top: .75rem;
}

.password-requirements p {
    font-size: .813rem;
    color: #666;
    margin-bottom: .5rem;
}

.password-requirements ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.password-requirements li {
    font-size: .713rem;
    color: #666;
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: .375rem;
    line-height: 1.4;
}

.password-requirements li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    border: 2px solid #d1d5db;
    border-radius: 50%;
}

.password-requirements li.valid::before {
    background: #10b981;
    border-color: #10b981;
}

/* 2FA Specific Styles */
.sec__qr {
    background: #fff;
    padding: 1rem;
    border: 1px solid #f0f0f0;
    border-radius: 4px;
    display: inline-block;
    margin: 1rem 0;
}

.sec__key {
    background: #fafafa;
    border: 1px solid #f0f0f0;
    padding: .75rem;
    border-radius: 4px;
    margin: .75rem 0;
    font-family: monospace;
}

.sec__confirm {
    margin-top: 1rem;
}

.sec__codes {
    background: #fafafa;
    border: 1px solid #f0f0f0;
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: .5rem;
}

.sec__code {
    font-family: monospace;
    font-size: .813rem;
    color: #444;
    background: #fff;
    padding: .5rem;
    border: 1px solid #f0f0f0;
    border-radius: 4px;
}

/* Button Styles */
#accountmodal .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .625rem 1.25rem;
    border-radius: 6px;
    font-size: .875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s ease;
    min-width: 120px;
}

.btn--primary {
    background: linear-gradient(to bottom, #fff, #fafafa);
    color: #2c2c2c;
    border: 1px solid #e5e5e5;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
}

.btn--primary:hover {
    border-color: #d4d4d4;
    box-shadow: 0 2px 4px rgba(0,0,0,.06);
    transform: translateY(-1px);
}

.btn--secondary {
    background: linear-gradient(to bottom, #fafafa, #f5f5f5);
    color: #444;
    border: 1px solid #e0e0e0;
}

.btn--secondary:hover {
    border-color: #ccc;
    box-shadow: 0 2px 4px rgba(0,0,0,.05);
    transform: translateY(-1px);
}

.btn--danger {
    background: #fff;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.btn--danger:hover {
    background: #fef2f2;
    border-color: #feb2b2;
    box-shadow: 0 2px 4px rgba(0,0,0,.05);
    transform: translateY(-1px);
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: .75rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .sec__grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
    }
    
    .sec__codes {
        grid-template-columns: 1fr;
    }
}
/* confirm password */
.sec {
    max-width: 420px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.sec__panel {
    background: linear-gradient(to bottom, #fff, #fafbfc);
    border: 1px solid #f0f0f0;
    border-radius: 6px;
    padding: 1.5rem;
    text-align: center;
}

.sec__logo {
    height: 40px;
    margin-bottom: 1.5rem;
}


.sec__errors {
    background: #fef2f2;
    border: 1px solid #fee2e2;
    border-radius: 6px;
    padding: 0.75rem;
    margin-bottom: 1rem;
    text-align: left;
}

.sec__errors ul {
    list-style: none;
    margin: 0;
    padding: 0;
    color: #dc2626;
    font-size: 0.813rem;
}

.sec__form-row {
    margin-bottom: 1rem;
    text-align: left;
}

.sec__label {
    display: block;
    font-size: 0.813rem;
    color: #444;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.sec__input {
    width: 100%;
    padding: 0.438rem 0.625rem;
    border: 1px solid #e4e4e4;
    border-radius: 4px;
    font-size: 0.813rem;
    transition: all 0.2s;
}

.sec__input:hover {
    border-color: #d4d4d4;
}

.sec__input:focus {
    border-color: #999;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.03);
}

.sec__action-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 140px;
    margin: 1rem auto;
    background: linear-gradient(to bottom, #fff, #fafafa);
    color: #2c2c2c;
    border: 1px solid #e5e5e5;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.sec__action-primary:hover {
    border-color: #d4d4d4;
    box-shadow: 0 2px 4px rgba(0,0,0,0.06);
    transform: translateY(-1px);
}

@media (max-width: 640px) {
    .sec {
        margin: 1rem auto;
    }
    
    .sec__panel {
        padding: 1rem;
    }
}
/* Simple icon for external links */
.offsitestripe{
    background-image: url('data:image/svg+xml,<%3Fxml version="1.0" encoding="utf-8"%3F><svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 24.2 24.2" style="enable-background:new 0 0 24.2 24.2;" xml:space="preserve"><g><path d="M12.1,0c0,0.6,0,1.2,0,1.8c-0.1,0-0.2,0-0.3,0c-2.7,0-5.4,0-8.1,0c-1.1,0-1.8,0.7-1.8,1.8c0,5.7,0,11.3,0,17c0,0.8,0.5,1.4,1.2,1.6c0.1,0,0.3,0,0.4,0c5.7,0,11.3,0,17,0c1.1,0,1.7-0.7,1.7-1.7c0-2.7,0-5.4,0-8.1c0-0.1,0-0.2,0-0.3c0.6,0,1.2,0,1.9,0c0,0.1,0,0.2,0,0.3c0,2.7,0,5.5,0,8.2c0,2-1.5,3.5-3.5,3.5c-5.7,0-11.4,0-17,0c-2,0-3.6-1.5-3.6-3.6C0,16.3,0,12,0,7.7C0,6.3,0,5,0,3.6C0,1.8,1.2,0.4,3,0c0.2,0,0.4,0,0.6,0C6.3,0,9,0,11.8,0C11.9,0,12,0,12.1,0z"/><path d="M22.3,8.4c0-1.7,0-3.4,0-5.1c-3.1,3.2-6.2,6.3-9.2,9.5c-0.4-0.5-0.8-0.9-1.2-1.4c3-3.1,6.1-6.3,9.2-9.5c-1.7,0-3.3,0-4.9,0c0-0.6,0-1.2,0-1.9c2.7,0,5.3,0,8,0c0,2.8,0,5.6,0,8.3C23.5,8.4,22.9,8.4,22.3,8.4z"/></g></svg>');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    opacity: 0.7;
    height: 20px;
    width: 20px;
}

.offsitestripe:hover {
    opacity: 1;
}

/* Basic mobile responsiveness */
@media (max-width: 600px) {
    .table {
        font-size: 14px;
    }
    
    .table th, .table td {
        padding: 8px;
    }
}

.btn--loading::after{
    content:"";
    position:absolute;
    width:1rem;
    height:1rem;
    border:2px solid #e5e5e5;
    border-top-color:#2c2c2c;
    border-radius:50%;
    animation:spin .6s linear infinite
}

.btn-group{
    display:flex;
    gap:.5rem;
    margin-top:.625rem;
    justify-content:center
}


@keyframes spin{
    to{transform:rotate(360deg)}
}


    #Account.tabcontent {
        padding: 1rem;
    }
    #Billing.tabcontent {
        padding: 1rem;
    }
/* PROFILe */

.account-settings-card {
    width: 557px;
    max-width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Account Tab Navigation */
.account-tab-navigation {
    display: flex;
    border-bottom: 1px solid #e5e7eb;
}

.account-tab-button {
    flex: 1;
    padding: 16px 20px;
    background: none;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.account-tab-button:hover {
    color: #374151;
    background-color: #f3f4f6;
}

.account-tab-button.active {
    color: #3b82f6;
    background-color: #ffffff;
}

.account-tab-button.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #3b82f6;
}

/* Account Tab Panel */
.account-tab-panel {
    display: none;
    padding: 24px;
}

.account-tab-panel.active {
    display: block;
}

/* Account Profile Form Styles */
.account-profile-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.profile-message {
    padding: 8px;
    border-radius: 6px;
    font-size: 14px;
}
.profile-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.profile-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.saving {
    opacity: 0.7;
    pointer-events: none;
}
.account-form-row {
    display: flex;
    flex-direction: column;
}

.account-form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.account-form-label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 4px;
}

.account-input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.account-input-icon {
    position: absolute;
    left: 12px;
    color: #9ca3af;
    pointer-events: none;
    z-index: 1;
}

.account-form-input {
    width: 100%;
    padding: 12px 12px 12px 42px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    color: #111827;
    background-color: #ffffff;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.account-form-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.account-form-input:hover:not(:focus) {
    border-color: #9ca3af;
}

.account-form-input::placeholder {
    color: #9ca3af;
}

.account-form-hint {
    font-size: 12px;
    color: #6b7280;
    margin-top: 4px;
    line-height: 1.4;
}

.account-form-actions {
    margin-top: 8px;
    display: flex;
    justify-content: flex-end;
}

.account-btn-save {
    padding: 10px 24px;
    background-color: #3b82f6;
    color: white;
    border: none;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 120px;
}

.account-btn-save:hover {
    background-color: #2563eb;
    transform: translateY(-1px);
}

/* Account Subscription Overview Styles */
.account-subscription-overview {
    max-width: 100%;
}

.account-subscription-plan {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f3f4f6;
}

.account-plan-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 16px;
    color: #111827;
}

.account-plan-badge svg {
    color: #10b981;
    flex-shrink: 0;
    padding-left: 10px;
}

.account-plan-status {
    padding: 6px 16px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.account-status-active {
    background-color: #d1fae5;
    color: #065f46;
}

.account-status-inactive {
    background-color: #fef2f2;
    color: #991b1b;
}

.account-subscription-details {
    margin-bottom: 24px;
}

.account-detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
}

.account-detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f9fafb;
    border-radius: 8px;
    flex-shrink: 0;
}

.account-detail-icon svg {
    color: #6b7280;
}

.account-detail-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.account-detail-label {
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
}

.account-detail-value {
    font-size: 15px;
    color: #111827;
    font-weight: 600;
}

.account-subscription-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.account-subscription-actions form {
    flex: 1;
    min-width: 0;
}

.account-subscription-actions button {
    width: 100%;
    padding: 10px 16px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-align: center;
}

.account-btn-primary {
    background-color: #3b82f6;
    color: white;
    border: none;
}

.account-btn-primary:hover {
    background-color: #2563eb;
    transform: translateY(-1px);
}

.account-btn-secondary {
    background-color: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}

.account-btn-secondary:hover {
    background-color: #e5e7eb;
    border-color: #9ca3af;
}

/* Account Empty Subscription State */
.account-subscription-empty {
    text-align: center;
    padding: 40px 20px;
}

.account-empty-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.account-empty-icon svg {
    color: #9ca3af;
}

.account-empty-message {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 600px) {
    .account-settings-card {
        width: 100%;
        margin: 0;
    }

    .account-tab-panel {
        padding: 20px;
    }

    .account-tab-button {
        padding: 14px 16px;
        font-size: 10px;
    }

    .account-subscription-actions {
        flex-direction: column;
    }

    .account-subscription-actions form {
        flex: none;
    }

    .account-form-actions {
        justify-content: stretch;
    }

    .account-btn-save {
        width: 100%;
    }
    .account-detail-value{
        font-size: 13px;
    }
    .account-detail-value{
        padding-left: 0;   
    }
}

/*EMPTY STATE*/

.empty-state-wrapper {
    flex: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: none;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: relative;
    background: #ffffff;
    overflow: hidden;
}

.circle-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    will-change: transform;
}

.circle-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #f0f4ff;
    background: -webkit-linear-gradient(45deg, #eff6ff 0%, #f8faff 100%);
    background: -moz-linear-gradient(45deg, #eff6ff 0%, #f8faff 100%);
    background: linear-gradient(45deg, #eff6ff 0%, #f8faff 100%);
    opacity: 0.8;
}

.circle-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #f0f4ff;
    background: -webkit-linear-gradient(45deg, #eff6ff 0%, #f8faff 100%);
    background: -moz-linear-gradient(45deg, #eff6ff 0%, #f8faff 100%);
    background: linear-gradient(45deg, #eff6ff 0%, #f8faff 100%);
    opacity: 0;
    animation: subtle-pulse 5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    will-change: transform, opacity;
}

@keyframes subtle-pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    85% {
        transform: scale(1.15);
        opacity: 0;
    }
    100% {
        transform: scale(1.15);
        opacity: 0;
    }
}

@-webkit-keyframes subtle-pulse {
    0% {
        -webkit-transform: scale(1);
        opacity: 0.5;
    }
    85% {
        -webkit-transform: scale(1.15);
        opacity: 0;
    }
    100% {
        -webkit-transform: scale(1.15);
        opacity: 0;
    }
}

.empty-state-content {
    position: relative;
    max-width: 440px;
    text-align: center;
    padding: 2rem;
}


.empty-state-icon-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 2000px;
    -webkit-transform: rotate(-6deg);
    transform: rotate(-6deg);
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    will-change: transform;
}

.empty-state-icon-bg:hover {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
}

.empty-state-icon {
    position: absolute;
    inset: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-size: 35px;

}

.empty-state-icon img {
    height: 45%;
}

@keyframes rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.empty-state-icon-container {
    position: relative;
    width: 88px;
    height: 88px;
    margin: 0 auto 2rem;
    display: grid;
    place-items: center;
}

.empty-state-dots {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 125px;
    height: 125px;
    pointer-events: none;
    animation: rotate 25s linear infinite;
    will-change: transform;
}

.empty-state-dot {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #e0e7ff;
}

.empty-state-dot-1 { top: 0; left: 50%; transform: translateX(-50%); }
.empty-state-dot-2 { top: 50%; right: 0; transform: translateY(-50%); }
.empty-state-dot-3 { bottom: 0; left: 50%; transform: translateX(-50%); }
.empty-state-dot-4 { top: 50%; left: 0; transform: translateY(-50%); }

.empty-state-heading {
      font-family: system-ui, -apple-system, sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.empty-state-message {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 
                 Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #6b7280;
    margin-bottom: 2rem;
}

.empty-state-button {
    background: #3b82f6;
    color: #ffffff;
    border: none;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
        letter-spacing: 0.02em;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    will-change: transform;
    display: flex;
    align-items: center;
    margin: auto;
    gap: 6px;
}
.empty-state-button img{
    height: 21px;
}
.empty-state-button:hover {
    background: #2563eb;
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.empty-state-button:active {
    -webkit-transform: translateY(0);
    transform: translateY(0);
}

/* Media Queries */
@media screen and (max-width: 768px) {
    .empty-state-content {
        max-width: 360px;
        padding: 1.5rem;
    }

    .empty-state-icon-container {
        width: 72px;
        height: 72px;
    }

    .empty-state-heading {
        font-size: 20px;
    }

    .empty-state-message {
        font-size: 14px;
    }
}

@media screen and (max-width: 480px) {
    .empty-state-content {
        max-width: 300px;
        padding: 1rem;
    }
}
@media (max-width: 500px) {
    .account-plan-badge{
        font-size: 12px;
    }
    .account-subscription-plan {
        margin-bottom: 5px;
    }
    .account-subscription-details{
        margin-bottom: 14px;
    }
    .account-form-field{
        gap: 0px;
    }
    .account-profile-form{
        gap: 10px;
    }
    .billing-subscription-actions{
        justify-content: center;
    }
}

/* Profile Message Styles */
.profile-message {
    padding: 8px;
    border-radius: 6px;
    font-size: 14px;
}
.profile-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.profile-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.saving {
    opacity: 0.7;
    pointer-events: none;
}