/* Buttons */
.btn {
    padding: 12px 24px;
    border-radius: var(--radius-md);
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-accent) 0%, var(--primary-deep) 100%);
    color: white;
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-secondary {
    background: var(--primary-pink-light);
    color: var(--text-primary);
}

/* Add Note Button */
.add-note-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-accent) 0%, var(--primary-deep) 100%);
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-note-btn:active {
    transform: scale(0.95);
}

.add-note-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Upload Modal */
.upload-type-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.upload-tab {
    flex: 1;
    padding: 10px;
    border: 2px solid var(--primary-pink-light);
    background: transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
}

.upload-tab.active {
    background: var(--primary-pink);
    border-color: var(--primary-pink);
}

.upload-dropzone {
    border: 2px dashed var(--primary-pink-light);
    border-radius: var(--radius-md);
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.upload-dropzone:hover {
    border-color: var(--primary-accent);
    background: var(--primary-pink-light);
}

.upload-preview {
    margin-top: 15px;
    text-align: center;
}

#fileName {
    margin-top: 10px;
    font-size: 12px;
    color: var(--text-secondary);
}

.note-edit-btn {
    position: absolute;
    top: 12px;
    right: 50px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
}

.note-edit-btn svg {
    width: 18px;
    height: 18px;
    fill: var(--text-primary);
}

.note-edit-btn:hover {
    background: rgba(255,255,255,0.5);
}

.note-delete-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 71, 87, 0.2);
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
}

.note-delete-btn svg {
    width: 18px;
    height: 18px;
    fill: #ff4757;
}

.note-delete-btn:hover {
    background: rgba(255, 71, 87, 0.4);
}