/* RySoft Pro Customer Portal - Custom Styles */

/* Smooth transitions */
* {
    transition: all 0.2s ease-in-out;
}

/* Custom button styles */
.btn-primary {
    background-color: #374151;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: background-color 0.2s;
}

.btn-primary:hover {
    background-color: #1F2937;
}

/* Ticket status badges */
.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-open { background-color: #DBEAFE; color: #1E40AF; }
.badge-in_progress { background-color: #FEF3C7; color: #92400E; }
.badge-waiting_customer { background-color: #FCE7F3; color: #831843; }
.badge-waiting_staff { background-color: #E0E7FF; color: #3730A3; }
.badge-resolved { background-color: #D1FAE5; color: #065F46; }
.badge-closed { background-color: #F3F4F6; color: #1F2937; }

/* Priority badges */
.badge-low { background-color: #E5E7EB; color: #374151; }
.badge-normal { background-color: #DBEAFE; color: #1E40AF; }
.badge-high { background-color: #FED7AA; color: #9A3412; }
.badge-urgent { background-color: #FECACA; color: #991B1B; }

/* Loading spinner */
.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #374151;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Form focus states */
input:focus, textarea:focus, select:focus {
    outline: none;
    ring: 2px;
    ring-color: #374151;
    border-color: #374151;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #555;
}
