/* Rivers Project - Notes Component Styles */
/* Note display/edit modes, textarea styling, character counter */

.note-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e1e8ed;
}

.note-section h3 {
    margin-bottom: 15px;
    color: #34495e;
}

.note-edit-form {
    background: #f8f9fa;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    padding: 20px;
}

.note-error {
    background: #f8d7da;
    color: #721c24;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 15px;
    border-left: 4px solid #dc3545;
    font-size: 14px;
}

.note-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #dfe6e9;
    border-radius: 6px;
    font-size: 14px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    resize: vertical;
    transition: border-color 0.2s;
}

.note-textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.note-char-count {
    text-align: right;
    font-size: 12px;
    color: #7f8c8d;
    margin-top: 5px;
}

.note-display {
    background: white;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    padding: 20px;
}

.note-content {
    color: #2c3e50;
    line-height: 1.6;
    margin-bottom: 15px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.note-content a {
    color: #3498db;
    text-decoration: underline;
}

.note-content a:hover {
    color: #2980b9;
}

.note-meta {
    padding-top: 10px;
    border-top: 1px solid #e1e8ed;
    font-size: 12px;
    color: #7f8c8d;
}

.note-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.note-btn {
    padding: 8px 14px;
    border: 1px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1px;
    transition: background 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.note-btn-primary {
    background: #3498db;
    color: white;
}

.note-btn-primary:hover {
    background: #2980b9;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(41, 128, 185, 0.25);
}

.note-btn-secondary {
    background: #f3f4f6;
    color: #374151;
    border-color: #e5e7eb;
}

.note-btn-secondary:hover {
    background: #e5e7eb;
    transform: translateY(-1px);
}

.note-btn-danger {
    background: #ef4444;
    color: white;
}

.note-btn-danger:hover {
    background: #dc2626;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.25);
}

.note-empty {
    color: #95a5a6;
    font-style: italic;
    padding: 20px;
    text-align: center;
}
