/**
 * Draft Manager Styles
 * Auto-save draft indicator
 */

.draft-indicator {
    margin: 16px 0;
    animation: slideDown 0.3s ease-out;
}

.draft-indicator-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #fbbf24;
    border-radius: 8px;
    font-size: 14px;
    color: #92400e;
}

.draft-indicator-content i:first-child {
    color: #f59e0b;
    font-size: 16px;
}

.draft-indicator-content span {
    flex: 1;
    font-style: italic;
}

.draft-restore-btn {
    padding: 6px 12px;
    background: #f59e0b;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.draft-restore-btn:hover {
    background: #d97706;
    transform: scale(1.05);
}

.draft-dismiss-btn {
    width: 24px;
    height: 24px;
    padding: 0;
    background: rgba(0, 0, 0, 0.1);
    color: #92400e;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.draft-dismiss-btn:hover {
    background: rgba(0, 0, 0, 0.2);
}

/* Dark mode */
html.dark-mode .draft-indicator-content {
    background: linear-gradient(135deg, #78350f 0%, #92400e 100%);
    border-color: #f59e0b;
    color: #fef3c7;
}

html.dark-mode .draft-indicator-content i:first-child {
    color: #fbbf24;
}

html.dark-mode .draft-restore-btn {
    background: #fbbf24;
    color: #78350f;
}

html.dark-mode .draft-restore-btn:hover {
    background: #fde68a;
}

html.dark-mode .draft-dismiss-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #fef3c7;
}

html.dark-mode .draft-dismiss-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Animation */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
