/**
 * Frontend-Styles für AI Meeting Signup
 * CI-Design: #196297 (Primary), #2475b3 (Secondary)
 */

/* Container */
.aims-container {
    max-width: 1200px;
    margin: 40px auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 2px solid #196297;
}

/* Header */
.aims-header {
    background: linear-gradient(135deg, #196297 0%, #2475b3 100%);
    color: white;
    padding: 25px 30px;
    text-align: center;
}

.aims-header h2 {
    margin: 0 0 8px 0;
    font-size: 1.8rem;
    font-weight: 600;
    color: white !important;
}

.aims-subtitle {
    font-size: 1.1rem;
    margin: 10px 0 5px 0;
    opacity: 0.95;
}

.aims-schedule {
    font-size: 0.95rem;
    margin: 5px 0 0 0;
    opacity: 0.9;
}

/* Features */
.aims-features {
    background: #f8f9fa;
    padding: 25px 30px;
    border-bottom: 2px solid #196297;
}

.aims-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.aims-features li {
    position: relative;
    padding-left: 25px;
    font-size: 0.95rem;
}

.aims-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #196297;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Nachrichten */
#aims-message {
    margin: 0;
}

.aims-success,
.aims-error {
    padding: 20px 30px;
    margin: 0;
    border-left: 5px solid;
    font-size: 1rem;
}

.aims-success {
    background: #d4edda;
    color: #155724;
    border-color: #28a745;
}

.aims-error {
    background: #f8d7da;
    color: #721c24;
    border-color: #dc3545;
}

/* Formular */
.aims-form {
    padding: 30px;
}

.aims-form-section {
    margin-bottom: 30px;
}

.aims-form-section h3 {
    color: #196297;
    font-size: 1.3rem;
    margin: 0 0 20px 0;
    font-weight: 600;
}

/* Meeting-Auswahl */
.aims-meetings {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.aims-meeting-option {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.aims-meeting-option:hover {
    border-color: #196297;
    background: #f8f9fa;
}

.aims-meeting-option input[type="radio"] {
    margin-right: 15px;
    margin-top: 4px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.aims-meeting-option input[type="radio"]:checked {
    accent-color: #196297;
}

.aims-meeting-info {
    flex: 1;
}

.aims-meeting-info strong {
    display: block;
    color: #333;
    font-size: 1.05rem;
    margin-bottom: 5px;
}

.aims-meeting-date {
    display: block;
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.aims-meeting-status {
    display: inline-block;
    padding: 4px 12px;
    background: #d4edda;
    color: #155724;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
}

.aims-meeting-option.aims-meeting-full {
    opacity: 0.6;
    cursor: not-allowed;
}

.aims-meeting-option.aims-meeting-full:hover {
    border-color: #e0e0e0;
    background: white;
}

.aims-meeting-status.aims-full {
    background: #f8d7da;
    color: #721c24;
}

/* Formular-Felder */
.aims-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.aims-form-group {
    margin-bottom: 20px;
}

.aims-form-group-small {
    margin-bottom: 0;
}

.aims-form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
}

.aims-form-group input[type="text"],
.aims-form-group input[type="email"],
.aims-form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.aims-form-group input:focus,
.aims-form-group select:focus {
    outline: none;
    border-color: #196297;
}

.aims-form-group select {
    cursor: pointer;
    background: white;
}

/* Checkbox */
.aims-checkbox-group {
    margin-top: 25px;
}

.aims-checkbox-group label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-weight: normal;
    line-height: 1.5;
    white-space: normal;
    word-wrap: break-word;
}

.aims-checkbox-group input[type="checkbox"] {
    margin-right: 12px;
    margin-top: 3px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.aims-checkbox-group input[type="checkbox"]:checked {
    accent-color: #196297;
}

.aims-checkbox-group a {
    color: #196297;
    text-decoration: underline;
}

.aims-checkbox-group a:hover {
    color: #2475b3;
}

/* Submit-Button */
.aims-submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #196297 0%, #2475b3 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.aims-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(25, 98, 151, 0.3);
}

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

.aims-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Responsive */
@media (max-width: 768px) {
    .aims-container {
        margin: 20px 10px;
        border-radius: 10px;
    }
    
    .aims-header {
        padding: 30px 20px;
    }
    
    .aims-header h2 {
        font-size: 1.5rem;
    }
    
    .aims-features {
        padding: 20px;
    }
    
    .aims-features ul {
        flex-direction: column;
        gap: 10px;
    }
    
    .aims-form {
        padding: 20px;
    }
    
    .aims-form-section h3 {
        font-size: 1.1rem;
    }
    
    .aims-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .aims-meeting-option {
        padding: 15px;
    }
    
    .aims-submit-btn {
        font-size: 1rem;
    }
}
