/* Note Modal */
.note-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 50px;
    z-index: 10001;
    backdrop-filter: blur(5px);
    overflow-y: auto;
}

.note-modal .modal-content {
    background: white;
    border-radius: 20px;
    padding: 0;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: noteModalSlideIn 0.4s ease-out;
}

@keyframes noteModalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.note-modal .modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px 20px 20px;
    border-radius: 20px 20px 0 0;
    text-align: center;
}

.note-icon {
    font-size: 48px;
    margin-bottom: 10px;
    animation: noteBounce 1s ease-in-out infinite alternate;
}

@keyframes noteBounce {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-5px);
    }
}

.note-modal h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.note-modal .modal-body {
    padding: 30px 20px;
}

.note-content {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 25px;
    padding: 15px;
    background: #f8f9ff;
    border-radius: 10px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.note-response-section {
    margin-bottom: 25px;
    padding-top: 20px;
    border-top: 2px solid #f1f3f4;
}

.response-label {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    margin-bottom: 12px;
}

.emoji-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}

.emoji-btn {
    width: 50px;
    height: 50px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    background: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.emoji-btn:hover {
    border-color: #667eea;
    background: #f8f9ff;
    transform: scale(1.1);
}

.emoji-btn:active {
    transform: scale(0.95);
}

.text-response {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.text-response-input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    resize: vertical;
    transition: border-color 0.3s ease;
}

.text-response-input:focus {
    outline: none;
    border-color: #667eea;
}

.text-response-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.char-count {
    font-size: 12px;
    color: #666;
}

.send-text-btn {
    padding: 8px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.send-text-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.send-text-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.note-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.close-btn {
    padding: 12px 24px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.close-btn:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

@media (max-width: 480px) {
    .note-modal {
        padding-top: 20px;
    }
    
    .note-modal .modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .note-modal .modal-header {
        padding: 25px 15px 15px;
    }
    
    .note-icon {
        font-size: 40px;
    }
    
    .note-modal h3 {
        font-size: 20px;
    }
    
    .note-modal .modal-body {
        padding: 25px 15px;
    }
    
    .note-content {
        font-size: 14px;
        padding: 12px;
    }
    
    .emoji-btn {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}

