:root {
    --primary-color: #7ac8ca;
    --secondary-color: #1d1d1b;
    --dark-color: #1d1d1b;
    --light-color: #f9f9f9;
    --gray-color: #e0e0e0;
    --border-color: #d9d9d9;
    --light-border: #eeeeee;
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --danger-color: #f44336;
    --disabled-color: #cccccc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f5f7fa;
    color: var(--dark-color);
    line-height: 1.5;
    font-size: 14px;
    height: 100vh;
    overflow: hidden;
}

.container {
    max-width: 1200px;
    height: 100vh;
    margin: 0 auto;
    padding: 15px;
    display: flex;
    flex-direction: column;
}

header {
    display: flex;
    align-items: center;
    padding: 10px 0;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.logo img {
    height: 40px;
    margin-right: 15px;
}

h1 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
}

main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    flex: 1;
    overflow: hidden;
    position: relative;
}

main::after {
    content: "";
    position: absolute;
    top: 10%;
    bottom: 10%;
    left: 50%;
    width: 1px;
    background-color: #ddd;
    transform: translateX(-50%);
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--dark-color);
    font-weight: 600;
}

h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

/* Plans Section */
.plans-container {
    padding: 15px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow-y: auto;
    max-height: calc(100vh - 150px);
}

.plans {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.plan-card {
    position: relative;
    border: 1px solid var(--light-border);
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 15px;
}

.plan-card:hover:not(.disabled) {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.plan-card.active {
    border: 2px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(122, 200, 202, 0.1);
}

.plan-card.disabled {
    opacity: 0.7;
    cursor: not-allowed;
    background-color: #f9f9f9;
}

.badge {
    position: absolute;
    top: -10px;
    left: 15px;
    background-color: var(--primary-color);
    color: white;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    z-index: 1;
}

.plan-left-section {
    width: 32%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.plan-header {
    text-align: left;
    width: 100%;
    margin-bottom: 15px;
}

.plan-header h3 {
    font-size: 1.2rem;
    margin-bottom: 3px;
    color: var(--dark-color);
    font-weight: 600;
}

.tagline {
    color: #777;
    font-style: italic;
    font-size: 0.8rem;
}

.plan-action {
    width: 100%;
}

.plan-button {
    display: block;
    text-align: center;
    background-color: var(--primary-color);
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    width: 100%;
}

.plan-button.selected {
    background-color: #5a9597;
    cursor: default;
}

.plan-button.disabled {
    background-color: var(--disabled-color);
    cursor: not-allowed;
    pointer-events: none;
}

.plan-button:hover:not(.selected):not(.disabled) {
    background-color: #69b7b9;
}

/* Tooltip for disabled buttons */
.plan-button[title] {
    position: relative;
}

.plan-button[title]:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 10px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    border-radius: 4px;
    font-size: 0.75rem;
    white-space: nowrap;
    margin-bottom: 5px;
    z-index: 10;
}

.plan-price {
    width: 23%;
    text-align: left;
    padding-right: 10px;
}

.price-container {
    display: flex;
    align-items: baseline;
    margin-bottom: 3px;
}

.price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
}

.annual-price {
    font-size: 0.75rem;
    color: #777;
}

.subscription-info {
    background-color: #f0f7ff;
    border-radius: 6px;
    padding: 5px 8px;
    margin-top: 8px;
    font-size: 0.75rem;
    color: #555;
    text-align: center;
}

.plan-features {
    list-style-type: none;
    width: 45%;
    padding-right: 10px;
}

.plan-features li {
    padding: 4px 0;
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    color: #333;
}

.feature-included::before {
    content: "✓";
    color: var(--success-color);
    font-weight: bold;
    margin-right: 8px;
}

.feature-excluded::before {
    content: "✕";
    color: #999;
    margin-right: 8px;
}

/* Billing Section */
.billing-container {
    padding: 15px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow-y: auto;
    max-height: calc(100vh - 150px);
}

.payment-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.card-info, .billing-address {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.card-data {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.card-icon {
    margin-right: 12px;
    color: #555;
}

.card-details p {
    margin-bottom: 3px;
}

.card-number {
    font-size: 1rem;
}

.card-expiry {
    color: #777;
    font-size: 0.8rem;
}

.update-button {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
    font-size: 0.85rem;
}

.update-button:hover {
    background-color: var(--primary-color);
    color: white;
}

address {
    margin-bottom: 12px;
    font-style: normal;
    line-height: 1.4;
    font-size: 0.9rem;
}

.invoices {
    margin-bottom: 20px;
}

.invoices-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
    font-size: 0.85rem;
}

.invoices-table th, .invoices-table td {
    padding: 8px 10px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.invoices-table th {
    background-color: #f5f7fa;
    font-weight: 600;
}

.status {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.status.paid {
    background-color: #e6f7e6;
    color: var(--success-color);
}

.download-link {
    color: var(--primary-color);
    text-decoration: none;
}

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

.renewal-info {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 15px;
    font-size: 0.9rem;
}

.renewal-options {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

/* Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 45px;
    height: 24px;
    margin-right: 12px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(21px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Footer */
footer {
    padding: 10px 0;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.powered-by {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: #777;
}

/* Responsive */
@media (max-width: 900px) {
    body {
        overflow: auto;
        height: auto;
    }
    
    .container {
        height: auto;
    }
    
    main {
        grid-template-columns: 1fr;
    }
    
    main::after {
        display: none;
    }
    
    .plans-container, .billing-container {
        max-height: none;
        overflow: visible;
    }
    
    .payment-details {
        grid-template-columns: 1fr;
    }
    
    .plan-card {
        flex-direction: column;
        align-items: stretch;
    }
    
    .plan-left-section {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .plan-header {
        text-align: center;
    }
    
    .plan-price, .plan-features {
        width: 100%;
        padding-right: 0;
        text-align: center;
    }
    
    .price-container {
        justify-content: center;
    }
    
    .plan-features {
        margin: 15px 0;
    }
} 