* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}

.header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 30px;
    text-align: center;
}

.header h1 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.logos-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin: 30px 0 0 0;
    padding: 25px 40px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    flex-wrap: wrap;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.logo {
    height: 70px;
    max-width: 160px;
    object-fit: contain;
    filter: brightness(1.1) contrast(1.05);
    transition: transform 0.2s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-placeholder {
    height: 60px;
    width: 120px;
    background: rgba(255,255,255,0.1);
    border: 2px dashed rgba(255,255,255,0.3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    text-align: center;
}

.instructions {
    background: #f8f9fa;
    padding: 20px 30px;
    border-left: 4px solid #667eea;
    margin: 0;
}

.form-content {
    padding: 30px;
}

.section {
    margin-bottom: 35px;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 25px;
    background: #fafbfc;
    transition: all 0.3s ease;
}

.section:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.section-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.required-asterisk {
    color: #dc3545;
    font-weight: bold;
    margin-left: 4px;
}

.section.error {
    border: 2px solid #dc3545;
    background: #fdf2f2;
}

.section.error .section-title {
    color: #dc3545;
}

.section-description {
    color: #6c757d;
    margin-bottom: 20px;
    font-style: italic;
}

.response-options {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}

.radio-option {
    display: flex;
    align-items: center;
    padding: 8px 10px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.radio-option:hover {
    border-color: #667eea;
    background: #f8f9ff;
}

.radio-option.selected {
    border-color: #667eea;
    background: #667eea;
    color: white;
}

.radio-option input[type="radio"] {
    margin-right: 6px;
    transform: scale(1.1);
}

.comments-section {
    margin-top: 20px;
}

.comments-label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #2c3e50;
}

.comments-input {
    width: 100%;
    min-height: 80px;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.3s ease;
}

.comments-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.tools-section {
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 20px;
    background: #f8f9ff;
    border: 2px solid #e3e6ff;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.tools-label {
    font-weight: 600;
    margin-bottom: 15px;
    color: #2c3e50;
    font-size: 1rem;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.tool-option {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.tool-option:hover {
    border-color: #667eea;
    background: #f8f9ff;
}

.tool-option input[type="checkbox"] {
    margin-right: 8px;
    transform: scale(1.1);
    accent-color: #667eea;
}

.tool-option span {
    flex: 1;
    font-weight: 500;
}

.other-tool-input {
    margin-left: 10px;
    padding: 4px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.85rem;
    flex: 1;
    transition: border-color 0.2s ease;
}

.other-tool-input:focus {
    outline: none;
    border-color: #667eea;
}

.other-tool-input:disabled {
    background: #f5f5f5;
    color: #999;
}

.participant-info {
    background: #e3f2fd;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    border-left: 4px solid #2196f3;
}

.participant-info h3 {
    color: #1565c0;
    margin-bottom: 15px;
}

.participant-info .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 10px;
}

.participant-info input, .participant-info select {
    width: 100%;
    padding: 10px;
    border: 2px solid #bbdefb;
    border-radius: 5px;
    font-size: 1rem;
}

.participant-info input:focus, .participant-info select:focus {
    outline: none;
    border-color: #2196f3;
}

.submit-section {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
}

.btn-submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

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

.message {
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: center;
    font-weight: 600;
    display: none;
}

.success-message {
    background: #d4edda;
    color: #155724;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
}

.loading {
    display: none;
    text-align: center;
    padding: 20px;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
    margin: 0 auto 10px;
}

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

.admin-panel {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    display: none;
    z-index: 1000;
    min-width: 300px;
}

.admin-panel.show {
    display: block;
}

.admin-login {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.admin-login input {
    width: 100%;
    padding: 8px;
    margin: 5px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.admin-content {
    display: none;
}

.admin-content.authenticated {
    display: block;
}

.admin-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #dc3545;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    z-index: 1001;
}

.btn-admin {
    background: #28a745;
    color: white;
    border: none;
    padding: 8px 15px;
    margin: 5px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
}

.btn-admin:hover {
    background: #218838;
}

@media (max-width: 768px) {
    .response-options {
        grid-template-columns: 1fr;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .tool-option {
        font-size: 0.85rem;
        padding: 6px 10px;
    }
    
    .participant-info .form-row {
        grid-template-columns: 1fr;
    }
    
    .header h1 {
        font-size: 1.5rem;
    }
    
    .container {
        margin: 10px;
    }

    .admin-panel {
        position: relative;
        top: auto;
        right: auto;
        margin: 20px auto;
        max-width: 90%;
    }
}