/* ActionFlow Spring Common Styles */

/* Reset and Base Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: #ffffff;
    margin: 0;
    padding: 32px;
    color: #374151;
    line-height: 1.6;
}

/* Main Container */
.form-frame {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 32px;
    margin: 0 auto;
    max-width: 800px;
}

/* Typography */
h2 {
    margin: 0 0 32px 0;
    font-size: 24px;
    font-weight: 700;
    color: #073E64;
    text-align: center;
}

h3 {
    margin: 32px 0 20px 0;
    font-size: 18px;
    font-weight: 600;
    color: #073E64;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
h4 {
    text-align: center;
}

/* Sections */
.section {
    margin-bottom: 20px;
}

/* Buttons */
button {
    background: #073E64;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.2s ease;
    margin-top: 8px;
}

button:hover {
    background: #4BA0C7;
    transform: translateY(-1px);
}

button:active {
    transform: translateY(0);
}

button:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
}

.secondary-button {
    background: #6b7280;
    margin-top: 16px;
}

.secondary-button:hover {
    background: #4b5563;
}

/* Loading Spinner */
.spinner {
    display: inline-block;
    width: 32px;
    height: 32px;
    border: 4px solid #4BA0C7;
    border-top: 4px solid #99D03A;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success Section */
.success-section {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    font-size: 64px;
    color: #99D03A;
    margin-bottom: 20px;
}

.success-title {
    font-size: 28px;
    font-weight: 700;
    color: #073E64;
    margin-bottom: 12px;
}

.success-subtitle {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 32px;
}

.trial-info {
    background: #f8fffe;
    border: 2px solid #99D03A;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
    text-align: left;
}

.trial-title {
    font-size: 18px;
    font-weight: 600;
    color: #073E64;
    margin-bottom: 16px;
    text-align: center;
}

.trial-details {
    font-size: 14px;
    color: #374151;
    line-height: 1.6;
}

.trial-details p {
    margin: 8px 0;
}

/* Disclaimer Section */
.disclaimer-section {
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.disclaimer-checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.disclaimer-checkbox {
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: #073E64;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 2px;
}

.disclaimer-label {
    font-size: 14px;
    color: #374151;
    line-height: 1.5;
    cursor: pointer;
    margin: 0;
}

.disclaimer-error {
    color: #d32f2f;
    font-size: 13px;
    margin-top: 8px;
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 16px;
    }
    
    .form-frame {
        padding: 24px;
    }
    
    h2 {
        font-size: 20px;
    }
    
    h3 {
        font-size: 16px;
    }
}