/* Floating Survey Styles - Updated for step-by-step survey */
.floating-survey-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    font-family: Arial, sans-serif;
}

.floating-survey-tab {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px 25px 0 0;
    cursor: pointer;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.floating-survey-tab:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.floating-survey-minimized {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px 15px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    display: none;
}

.floating-survey-sidebar {
    width: 350px;
    max-height: 500px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.floating-survey-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.floating-survey-title {
    font-size: 16px;
    font-weight: bold;
}

.floating-survey-controls {
    display: flex;
    gap: 10px;
}

.floating-survey-controls span {
    cursor: pointer;
    font-size: 18px;
    padding: 5px;
    transition: opacity 0.3s;
}

.floating-survey-controls span:hover {
    opacity: 0.7;
}

.floating-survey-content {
    padding: 20px;
    flex: 1;
    overflow-y: auto;
}

.survey-progress {
    margin-bottom: 20px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    text-align: center;
}

.survey-step {
    display: none;
}

.survey-step h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 18px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.radio-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.radio-group label {
    display: flex;
    align-items: center;
    font-weight: normal;
    cursor: pointer;
}

.radio-group input[type="radio"] {
    margin-right: 8px;
}

textarea, input[type="email"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
}

textarea {
    resize: vertical;
    min-height: 60px;
}

.survey-navigation {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.survey-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.survey-btn-back {
    background: #f0f0f0;
    color: #333;
}

.survey-btn-next {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    flex: 1;
}

.survey-btn-submit {
    background: #28a745;
    color: white;
    flex: 1;
}

.survey-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

@media (max-width: 480px) {
    .floating-survey-sidebar {
        width: 90%;
        max-width: 350px;
    }
    
    .floating-survey-container {
        bottom: 10px;
        left: 10px;
    }
}
