.notes-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.notes-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.notes-button:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.notes-panel {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 320px;
    background: var(--bs-body-bg);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    display: none;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s ease;
    font-family: 'Segoe UI', Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

.notes-panel.show {
    display: flex;
}

.notes-header {
    background: var(--bs-primary);
    color: white;
    padding: 12px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.notes-header h5 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.notes-content {
    padding: 15px;
    flex-grow: 1;
}

.notes-content textarea {
    width: 100%;
    resize: vertical;
    min-height: 150px;
    border: 1px solid var(--bs-border-color);
    border-radius: 8px;
    padding: 12px;
    font-size: 0.95rem;
    line-height: 1.5;
    background-color: var(--bs-tertiary-bg);
    color: var(--bs-body-color);
    transition: border-color 0.2s ease;
}

.notes-content textarea:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), .25);
    outline: none;
}

.notes-navigation {
    padding: 10px 15px;
    background: var(--bs-tertiary-bg);
    border-top: 1px solid var(--bs-border-color);
    border-bottom: 1px solid var(--bs-border-color);
}

.notes-navigation .btn {
    font-size: 0.85rem;
    padding: 5px 10px;
    border-radius: 6px;
}

.notes-navigation .text-muted {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--bs-secondary-color) !important;
}

.notes-footer {
    padding: 10px 15px;
    background: var(--bs-tertiary-bg);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.notes-footer .btn {
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: 6px;
}

/* Animación para el botón de guardar */
@keyframes saveAnimation {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.btn-success {
    animation: saveAnimation 0.3s ease;
}

/* Estilos para modo oscuro (mantener y ajustar) */
[data-bs-theme="dark"] .notes-panel {
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
}

[data-bs-theme="dark"] .notes-header {
    background: var(--bs-primary);
    border-bottom-color: rgba(255,255,255,0.15);
}

[data-bs-theme="dark"] .notes-content textarea {
    background: var(--bs-tertiary-bg);
    color: var(--bs-body-color);
    border-color: var(--bs-border-color);
}

[data-bs-theme="dark"] .notes-navigation {
    background: var(--bs-tertiary-bg);
    border-top-color: var(--bs-border-color);
    border-bottom-color: var(--bs-border-color);
}

[data-bs-theme="dark"] .notes-footer {
    background: var(--bs-tertiary-bg);
    border-top-color: var(--bs-border-color);
}

[data-bs-theme="dark"] .notes-navigation .text-muted {
    color: var(--bs-secondary-color) !important;
}

/* Botón flotante */
.notes-container .notes-button {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.notes-container .notes-button:hover {
    background-color: var(--bs-primary-hover);
    border-color: var(--bs-primary-hover);
}

[data-bs-theme="dark"] .notes-container .notes-button {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

[data-bs-theme="dark"] .notes-container .notes-button:hover {
    background-color: var(--bs-primary-hover);
    border-color: var(--bs-primary-hover);
} 