﻿/* Mobile-First Container */
.card-recommendation-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 15px;
    min-height: 100vh;
}

/* Header Styles */
.recommendation-header {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    margin-bottom: 20px;
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.header-icon {
    font-size: 3.5em;
    margin-bottom: 15px;
    color: #ffc107;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.page-title {
    font-size: 2em;
    font-weight: 900;
    margin: 0 0 10px 0;
    color: white;
}

.page-subtitle {
    font-size: 1em;
    margin: 0;
    opacity: 0.95;
    line-height: 1.5;
}

/* Early Bird Notice */
.early-bird-notice {
    background: linear-gradient(135deg, #fff3cd 0%, #fff8e1 100%);
    border: 3px solid #ffc107;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.2);
}

.notice-icon {
    font-size: 2.5em;
    color: #f57c00;
    flex-shrink: 0;
    animation: sunrise 3s ease-in-out infinite;
}

@keyframes sunrise {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(-5px); opacity: 0.8; }
}

.notice-content {
    flex: 1;
}

.notice-content h3 {
    margin: 0 0 10px 0;
    font-size: 1.3em;
    font-weight: 700;
    color: #f57c00;
    display: flex;
    align-items: center;
    gap: 8px;
}

.notice-content p {
    margin: 0 0 10px 0;
    color: #856404;
    line-height: 1.6;
    font-size: 0.95em;
}

.notice-content p:last-child {
    margin-bottom: 0;
}

.notice-detail {
    background: rgba(255, 193, 7, 0.15);
    padding: 12px;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.notice-detail i {
    color: #f57c00;
    font-size: 1.2em;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Success Card */
.success-card {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 3px solid #28a745;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.2);
}

.success-icon {
    font-size: 4em;
    color: #28a745;
    margin-bottom: 20px;
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

.success-card h2 {
    color: #155724;
    font-size: 1.8em;
    font-weight: 700;
    margin: 0 0 15px 0;
}

.success-card p {
    color: #155724;
    font-size: 1.1em;
    margin: 0 0 25px 0;
    line-height: 1.6;
}

/* Form Card */
.recommendation-form-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Form Sections */
.form-section {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 2px solid #f0f0f0;
}

.form-section:last-of-type {
    border-bottom: none;
}

.section-title {
    font-size: 1.3em;
    font-weight: 700;
    color: #333;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    color: #667eea;
    font-size: 1.2em;
}

/* Form Groups */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 1em;
}

.required {
    color: #dc3545;
    font-weight: 700;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #dee2e6;
    border-radius: 10px;
    font-size: 1em;
    transition: all 0.3s ease;
    background: white;
    box-sizing: border-box;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.form-help {
    display: block;
    font-size: 0.85em;
    color: #6c757d;
    margin-top: 6px;
}

.validation-error {
    display: block;
    color: #dc3545;
    font-size: 0.9em;
    margin-top: 6px;
    font-weight: 500;
}

/* Logged In Info */
.logged-in-info {
    background: #e7f3ff;
    border: 2px solid #2196f3;
    border-radius: 10px;
    padding: 15px;
}

.info-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #0d47a1;
    font-size: 1em;
}

.info-badge i {
    font-size: 1.5em;
    color: #2196f3;
}

/* Form Actions */
.form-actions {
    margin-top: 30px;
    text-align: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1em;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.btn-large {
    width: 100%;
    padding: 18px 32px;
    font-size: 1.2em;
}

.status-message {
    display: block;
    margin-top: 15px;
    padding: 12px;
    border-radius: 8px;
    font-weight: 500;
}

.status-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Tablet Styles */
@media (min-width: 768px) {
    .card-recommendation-container {
        padding: 25px;
    }

    .recommendation-header {
        padding: 40px 30px;
    }

    .recommendation-form-card {
        padding: 35px;
    }

    .header-icon {
        font-size: 4em;
    }

    .page-title {
        font-size: 2.5em;
    }

    .early-bird-notice {
        padding: 25px;
    }

    .notice-icon {
        font-size: 3em;
    }

    .notice-content h3 {
        font-size: 1.5em;
    }

    .notice-content p {
        font-size: 1em;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .card-recommendation-container {
        padding: 40px 20px;
    }
}
