/* ============================================
 * GlamSocial Dashboard & Auth Styles
 * ============================================ */

/* Select dropdown arrow fix for dark theme */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239ca3af'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
}

select option {
    background: #1a1a2e;
    color: #fff;
}

/* Drop zone active state */
.drop-zone-active {
    border-color: rgba(225, 29, 156, 0.6) !important;
    background: rgba(225, 29, 156, 0.08) !important;
}

/* Gallery preview thumbnails */
.gallery-thumb {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Submission table row animation */
table tbody tr {
    transition: background-color 0.2s ease;
}

/* Status badges pulse for pending */
@keyframes gentle-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.status-pending {
    animation: gentle-pulse 2s ease-in-out infinite;
}

/* Auth form input autofill fix for dark mode */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    -webkit-text-fill-color: #fff !important;
    -webkit-box-shadow: 0 0 0px 1000px rgba(255, 255, 255, 0.05) inset !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Checkbox styling */
input[type="checkbox"] {
    accent-color: #e11d9c;
}

/* Radio styling */
input[type="radio"]:checked + div {
    border-color: rgba(225, 29, 156, 0.5);
    background: rgba(225, 29, 156, 0.1);
    color: #e11d9c;
}

/* Progress bar shimmer */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

#progress-bar {
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
}

/* Responsive table on mobile */
@media (max-width: 640px) {
    .overflow-x-auto table {
        font-size: 12px;
    }
    .overflow-x-auto table th,
    .overflow-x-auto table td {
        padding: 8px 10px;
    }
}
