/* ==========================================================================
   Components - Buttons, Toasts, Forms, Cards
   ========================================================================== */

/* Upload button */
.upload-btn {
    background: #e94560;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    min-height: 44px;
    min-width: 44px;
    transition: background 0.2s;
}

.upload-btn:hover, .upload-btn:active {
    background: #ff6b6b;
}

/* Error toast */
.error-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: #e94560;
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 14px;
    z-index: 200;
    box-shadow: 0 4px 20px rgba(233, 69, 96, 0.4);
}

.error-toast.hidden {
    display: none;
}

/* Generic button styles */
button {
    font-family: inherit;
}

button:focus {
    outline: none;
}

button:focus-visible {
    outline: 2px solid #e94560;
    outline-offset: 2px;
}

/* Form inputs */
input, select, textarea {
    font-family: inherit;
}

input:focus, select:focus, textarea:focus {
    outline: none;
}

input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid #e94560;
    outline-offset: 2px;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-thumb {
    background: #0f3460;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1a4a7a;
}

/* Selection styling */
::selection {
    background: rgba(233, 69, 96, 0.3);
    color: inherit;
}

/* Link styling */
a {
    color: #e94560;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Disabled state for interactive elements */
[disabled] {
    cursor: not-allowed;
    opacity: 0.6;
}

/* Loading state utility */
.loading {
    pointer-events: none;
    opacity: 0.7;
}

/* Transition utilities */
.transition-fast {
    transition: all 0.15s ease;
}

.transition-normal {
    transition: all 0.2s ease;
}

.transition-slow {
    transition: all 0.3s ease;
}
