.checkout-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.checkout-container h1 {
    color: #333;
    text-align: center;
    margin-bottom: 10px;
}

.checkout-container .subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

.auth-section {
    margin-bottom: 30px;
}

.auth-form {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
}

.auth-form h2 {
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.auth-form input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box;
}

.btn-primary {
    width: 100%;
    padding: 15px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #5568d3;
}

.btn-large {
    padding: 20px;
    font-size: 1.2rem;
}

.error-message {
    color: #dc3545;
    margin-top: 10px;
    text-align: center;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.plan-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.plan-card.selected {
    border-color: #667eea;
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
}

.plan-card h3 {
    color: #333;
    margin-bottom: 15px;
}

.plan-price {
    font-size: 2rem;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 10px;
}

.plan-days {
    color: #666;
    margin-bottom: 15px;
}

.btn-select-plan {
    width: 100%;
    padding: 10px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

.btn-select-plan:hover {
    background: #5568d3;
}

.ad-form {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    margin-top: 30px;
}

.ad-form h2 {
    color: #333;
    margin-bottom: 20px;
}

.ad-form input,
.ad-form textarea,
.ad-form select {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box;
    font-family: inherit;
}

.ad-form textarea {
    resize: vertical;
}

.selected-plan {
    background: #e7f3ff;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    color: #333;
}

.payment-section {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
}

.payment-section h2 {
    color: #333;
    margin-bottom: 20px;
}

.payment-info {
    color: #333;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .checkout-container {
        padding: 20px;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
    }
}
