/* Shared Design System - Stripe-Style Clean Layout */

/* Reset & Base */
* {
    box-sizing: border-box;
}

body {
    background: #f6f9fc;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    color: #32325d;
    line-height: 1.6;
}

/* Container */
.stripe-style-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

/* Header */
.simple-header {
    text-align: center;
    margin-bottom: 32px;
}

.simple-header .logo {
    max-width: 180px;
    height: auto;
}

/* Main Card */
.main-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(50, 50, 93, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
    padding: 40px;
    margin-bottom: 24px;
}

/* Typography */
.main-title {
    font-size: 24px;
    font-weight: 600;
    color: #2c5f2d;
    margin: 0 0 16px 0;
}

.subtitle {
    font-size: 15px;
    color: #525f7f;
    margin: 0;
}

/* Form Elements */
.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #32325d;
    margin-bottom: 12px;
}

/* Buttons */
.submit-btn {
    width: 100%;
    padding: 16px;
    background: #2c5f2d;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    margin-top: 8px;
}

.submit-btn:hover {
    background: #1e4620;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(44, 95, 45, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    background: #cbd5e0;
    cursor: not-allowed;
    transform: none;
}

.secondary-btn {
    width: 100%;
    padding: 14px;
    background: white;
    color: #525f7f;
    border: 1px solid #e6ebf1;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.secondary-btn:hover {
    border-color: #2c5f2d;
    color: #2c5f2d;
}

/* Secondary Action Link */
.secondary-action {
    text-align: center;
    margin-top: 16px;
}

.secondary-action a {
    color: #525f7f;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.15s ease;
}

.secondary-action a:hover {
    color: #2c5f2d;
}

/* Loading Spinner */
.loading-simple {
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    gap: 12px;
}

.spinner {
    border: 2px solid #f3f3f3;
    border-top: 2px solid #2c5f2d;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Error Message */
.error-message-simple {
    background: #fff5f5;
    border: 1px solid #feb2b2;
    color: #c53030;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    margin: 16px 0;
    display: none;
}

/* Success Message */
.success-message-simple {
    background: #f0fdf4;
    border: 1px solid #86efac;
    color: #166534;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    margin: 16px 0;
}

/* Info Box */
.info-box {
    background: #f7fafc;
    border-left: 3px solid #2c5f2d;
    padding: 16px;
    border-radius: 4px;
    margin: 24px 0;
}

.info-box p {
    margin: 6px 0;
    font-size: 14px;
    color: #525f7f;
}

/* Footer */
.simple-footer {
    text-align: center;
    padding: 20px;
    font-size: 13px;
    color: #8898aa;
}

.simple-footer a {
    color: #2c5f2d;
    text-decoration: none;
}

.simple-footer a:hover {
    text-decoration: underline;
}

/* Icon Styles */
.icon-large {
    font-size: 64px;
    margin-bottom: 24px;
}

.icon-success {
    color: #2c5f2d;
}

.icon-warning {
    color: #ff9800;
}

.icon-error {
    color: #c53030;
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
    .stripe-style-container {
        padding: 24px 16px 40px;
    }
    
    .main-card {
        padding: 28px 20px;
    }
    
    .main-title {
        font-size: 22px;
    }
}
