/* ==================================================
BILLING DASHBOARD
================================================== */

.billing-container { 
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    gap: 1em;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}
.section { 
    border-radius: 10px;
    border: 1px solid #ccc;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    padding: 1.5em 3%;
    background: #f8f9fa;
}
.section h3 { 
    margin-bottom: 1.5rem;
    color: #333;
    font-size: 1.25rem;
    font-weight: 600;
}
.grid { 
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    width: 100%;
}
.info-box { 
    background: #fff;
    padding: 1.5rem;
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
}

.info-box h6 {
    color: #495057;
    margin-bottom: 0.25rem;
    line-height: 1.5;
    font-weight:600;
}

.info-box p {
    color: #495057;
    margin-bottom: 0.25rem;
    line-height: 1.5;
}

.settings-dropdown {
    position: relative;
}
.dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    color: #333;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}
.dropdown-toggle:hover {
    background: #f8f9fa;
}
.dropdown-menu {
    display: none;
    position: absolute;
    top: 3rem;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 0.5rem 0;
    min-width: 200px;
}
.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}
.dropdown-menu a:hover {
    background: #f8f9fa;
    color: #4ea5f2;
}
.dropdown-menu button {
    width: 100%;
    text-align: left;
    padding: 0.75rem 1.5rem;
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    transition: all 0.3s ease;
}
.dropdown-menu button:hover {
    background: #f8f9fa;
}
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
}
.cancel-list {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}
.cancel-list li {
    margin-bottom: 0.5rem;
    color: #666;
}
.privacy-note {
    margin: 1.5rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-left: 4px solid #007bff;
    color: #666;
}
.modal-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 1.5rem;
}
.btn-save {
    background-color: var(--color-primary);
    color: white;
    border: none;
}
.btn-save:hover {
    background-color: var(--color-primary-dark);
}
.btn-remove {
    background-color: var(--color-danger);
    color: white;
    border: none;
}
.btn-remove:hover {
    background-color: var(--color-danger-dark);
}
.btn-danger {
    background: #ef4444;
    color: white;
    border: none;
}
.purchase-btn {
    background: var(--color-primary);
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
}
.purchase-btn:hover {
    background: var(--color-primary-dark);
    color: white;
    text-decoration: none;
}
/* @media (max-width: 1366px) {
    .grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 900px) {
    .section {
        padding: 1rem;
    }
}
@media (max-width: 576px) {
    .section {
        padding: 0.75rem;
    }
    .info-box {
        padding: 1rem;
    }
} */

.header-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}
.inset-link {
    color: #4ea5f2;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}
.inset-link:hover {
    color: #000;
}

/* ==================================================
INVOICES
================================================== */

body { 
    font-family: 'Inter', sans-serif; 
    color: #333;
    background: #eff7ff;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0;
    padding: 0;
}

.header {
    text-align: center;
    margin-bottom: 1.25rem;
}

.header h1 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.header h1 span {
    border-bottom: 4px solid #4ea5f2;
}

.inset-link {
    display: inline-flex;
    align-items: center;
    color: #4ea5f2;
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.inset-link:hover {
    color: #3a7bb9;
}

.invoice-table {
    width: 100%;
    border-collapse: collapse;
}

.invoice-table th {
    text-align: left;
    padding: 1rem;
    border-bottom: 2px solid #eee;
    color: #000;
    font-weight: 500;
    background-color: white;
    font-size: 1rem;
}

.invoice-table td {
    padding: 1rem;
    border-bottom: 1px solid #eee;
    background-color: white;
}

.invoice-table tr {
    border-bottom: 1px solid #eee;
}

.invoice-table tr:last-child {
    border-bottom: none;
}

.invoice-table tr:hover {
    background: #f8f9fa;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.status-paid {
    background: #e6f4ea;
    color: #1e7e34;
}

.status-pending {
    background: #fff3e0;
    color: #f57c00;
}

.download-link {
    color: #4ea5f2;
    text-decoration: none;
}

.download-link:hover {
    text-decoration: underline;
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: #666;
}

.empty-state p {
    margin-bottom: 1rem;
}

/* ==================================================
PLANS
================================================== */

body { 
    font-family: 'Inter', sans-serif; 
    color: #333;
    background: #f8f9fa;
    margin: 0;
    padding: 0;
}

.header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.header h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.header h1 span {
    border-bottom: 4px solid #4ea5f2;
}

.header p {
    font-size: 1.25rem;
    color: #65B741;
    margin: 0;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.plan-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    justify-content: space-between;
}

.plan-card:hover {
    transform: translateY(-5px);
    border-color: #4ea5f2;
}

.plan-card.featured {
    border: 2px solid #4ea5f2;
}

.plan-header {
    text-align: center;
    margin-bottom: 2rem;
}

.plan-icon {
    font-size: 2.5rem;
    color: #65B741;
    margin-bottom: 1rem;
}

.plan-name {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.plan-subtitle {
    color: #666;
    margin-bottom: 1rem;
}

.plan-price {
    font-size: 2.5rem;
    color: #4ea5f2;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.plan-currency {
    font-size: 1rem;
    color: #666;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    flex-grow: 0;
}

.plan-features li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #666;
}

.plan-features li::before {
    content: "✓";
    color: #65B741;
    margin-right: 0.5rem;
    font-weight: bold;
}

.purchase-btn {
    background: linear-gradient(to right, #4ea5f2, #8f6ef2);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s ease;
    width: calc(100% - 2rem);
    text-align: center;
    text-decoration: none;
    display: block;
    margin: 0 1rem;
}

.purchase-btn:hover {
    opacity: 0.9;
}

.savings-tag {
    background: #65B741;
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    position: absolute;
    top: -12px;
    right: 20px;
    z-index: 1;
}

.purchase-btn.disabled {
    background: #cccccc;
    cursor: not-allowed;
    opacity: 0.7;
    pointer-events: none;
}

.current-plan-badge {
    background: #65B741;
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    position: absolute;
    top: -12px;
    left: 20px;
    z-index: 1;
}