/* Frontend Styles */
.streaming-accounts-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.streaming-accounts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.streaming-account-card {
    background: #fff;
    border: 1px solid #e1e5e9;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.streaming-account-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.streaming-account-card .service-icon {
    font-size: 48px;
    color: #007cba;
    margin-bottom: 15px;
}

.streaming-account-card h3 {
    margin: 0 0 15px 0;
    color: #2c3338;
    font-size: 1.4em;
    font-weight: 600;
}

.streaming-account-card .price {
    font-size: 2em;
    font-weight: bold;
    color: #007cba;
    margin: 15px 0;
}

.streaming-account-card .features {
    margin: 20px 0;
}

.streaming-account-card .feature {
    display: block;
    color: #666;
    margin: 5px 0;
    font-size: 0.9em;
}

.buy-account-btn {
    background: linear-gradient(135deg, #007cba, #005a87);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
}

.buy-account-btn:hover {
    background: linear-gradient(135deg, #005a87, #004670);
    transform: translateY(-2px);
}

.no-accounts {
    text-align: center;
    color: #666;
    font-size: 1.1em;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 8px;
    grid-column: 1 / -1;
}

/* Modal Styles */
.streaming-modal {
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: none;
}

.payment-modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    cursor: pointer;
    color: #666;
}

.close-modal:hover {
    color: #000;
}

.order-summary {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    border-left: 4px solid #007cba;
}

.order-summary p {
    margin: 5px 0;
    font-size: 1.1em;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #007cba;
}

.stripe-section {
    margin-top: 20px;
}

.stripe-card-element {
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    background: white;
}

.stripe-errors {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 8px;
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.btn-primary {
    background: #007cba;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    flex: 1;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background: #005a87;
}

.btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.btn-secondary {
    background: #6c757d;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    flex: 1;
    transition: background 0.3s ease;
}

.btn-secondary:hover {
    background: #545b62;
}

.payment-result {
    margin-top: 20px;
    padding: 15px;
    border-radius: 6px;
    display: none;
}

.payment-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block !important;
}

.payment-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block !important;
}

/* Responsive */
@media (max-width: 768px) {
    .streaming-accounts-grid {
        grid-template-columns: 1fr;
    }
    
    .payment-modal-content {
        margin: 10% auto;
        width: 95%;
        padding: 20px;
    }
    
    .form-actions {
        flex-direction: column;
    }
}