/**
 * Frontend Registration Form Styles
 */

.roma-registration-wrapper {
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
}

.roma-registration-container {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 40px;
}

.roma-form-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #1a1a1a;
}

.roma-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.roma-form-group {
    display: flex;
    flex-direction: column;
}

.roma-form-group label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.roma-form-group .required {
    color: #e74c3c;
}

.roma-form-group input {
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.roma-form-group input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.roma-form-actions {
    margin-top: 10px;
}

.roma-submit-btn {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.roma-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.roma-submit-btn:active {
    transform: translateY(0);
}

.roma-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.roma-btn-loader {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.roma-message {
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 15px;
    font-size: 14px;
}

.roma-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.roma-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.roma-success-section {
    text-align: center;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.roma-success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    margin: 0 auto 20px;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

.roma-success-section h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.roma-success-section p {
    color: #666;
    margin-bottom: 25px;
}

.roma-download-btn {
    display: inline-block;
    padding: 14px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.roma-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    color: #ffffff;
}

.roma-secondary-btn {
    display: inline-block;
    padding: 12px 24px;
    background: #ecf0f1;
    color: #2c3e50;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.roma-secondary-btn:hover {
    background: #bdc3c7;
}

/* Responsive */
@media (max-width: 768px) {
    .roma-registration-container {
        padding: 30px 20px;
    }

    .roma-form-title {
        font-size: 24px;
    }
}
