/* 
 * PromptBuilder Custom Styles
 * Complements TailwindCSS classes
 */

/* Custom Scrollbar for Webkit browsers */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Modern Input Styles to complement Tailwind */
.modern-input {
    width: 100%;
    background-color: #f8fafc; /* bg-slate-50 */
    border: 1px solid #e2e8f0; /* border-slate-200 */
    border-radius: 0.75rem; /* rounded-xl */
    padding: 0.75rem 1rem;
    font-size: 0.875rem; /* text-sm */
    color: #334155; /* text-slate-700 */
    transition: all 0.2s ease-in-out;
    outline: none;
}

.modern-input:focus {
    background-color: #ffffff;
    border-color: #3b82f6; /* border-blue-500 */
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.modern-input::placeholder {
    color: #94a3b8; /* text-slate-400 */
}

/* Input Labels */
.input-label {
    display: block;
    font-size: 0.65rem; /* text-[10px] */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b; /* text-slate-500 */
    margin-bottom: 0.25rem;
    padding-left: 0.25rem;
}

/* Tab Navigation (Mobile) */
.tab-active {
    color: #2563eb; /* text-blue-600 */
    background-color: #eff6ff; /* bg-blue-50 */
    border-top: 2px solid #2563eb;
}

.tab-inactive {
    color: #64748b; /* text-slate-500 */
    background-color: #ffffff;
    border-top: 2px solid transparent;
}

/* Toast Animation */
.toast-show {
    opacity: 1 !important;
    transform: translate(-50%, -10px) !important;
}

/* Button Actions Hover/Active */
.btn-action {
    transition: all 0.2s;
}
.btn-action:active {
    transform: scale(0.98);
}

/* Instruction Item */
.instruction-item {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}
