/* Subscription Success Page Styles */

/* Container styles */
.subscription-success-container,
.subscription-processing-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* Header styles */
.subscription-success-header,
.subscription-processing-container {
    text-align: center;
    margin-bottom: 30px;
}

.success-icon,
.processing-icon {
    margin: 0 auto 20px;
    width: 80px;
    height: 80px;
}

.subscription-success-header h2,
.subscription-processing-container h2 {
    color: #333;
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 600;
}

.success-message,
.processing-message {
    color: #666;
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 10px;
}

/* Subscription details card */
.subscription-details-card {
    background-color: #f9f9f9;
    border-radius: 6px;
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid #eee;
}

.subscription-details-card h3 {
    color: #333;
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    font-weight: 500;
}

.subscription-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.detail-item {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
    font-weight: 500;
}

.detail-value {
    font-size: 16px;
    color: #333;
    font-weight: 400;
}

/* Status badge */
.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    text-transform: capitalize;
}

.status-active {
    background-color: #e6f7ed;
    color: #0d904f;
}

.status-pending {
    background-color: #fff8e6;
    color: #b78105;
}

.status-cancelled {
    background-color: #feeaea;
    color: #d63939;
}

/* Action buttons */
.subscription-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.subscription-button {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s ease;
}

.primary-button {
    background-color: #4CAF50;
    color: white;
    border: 1px solid #4CAF50;
}

.primary-button:hover {
    background-color: #3d8b40;
    color: white;
}

.secondary-button {
    background-color: white;
    color: #333;
    border: 1px solid #ddd;
}

.secondary-button:hover {
    background-color: #f5f5f5;
    color: #333;
}

/* Help section */
.subscription-help {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.subscription-help a {
    color: #4CAF50;
    text-decoration: none;
}

.subscription-help a:hover {
    text-decoration: underline;
}

/* Error styles */
.subscription-error {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background-color: #feeaea;
    border-radius: 8px;
    border-left: 4px solid #d63939;
    color: #333;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .subscription-success-container,
    .subscription-processing-container {
        padding: 20px;
        margin: 20px auto;
    }
    
    .subscription-details-grid {
        grid-template-columns: 1fr;
    }
    
    .subscription-actions {
        flex-direction: column;
    }
    
    .subscription-button {
        width: 100%;
    }
} 