/* SWU Archery Brand Overrides */

body {
    font-family: 'Noto Sans Thai', sans-serif;
}

/* Glassmorphism effects */
.glass {
    background: rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.glass-light {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

/* Hero section */
.hero-bg {
    background-image: url('/images/bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.60);
}

/* Status indicator animation */
.status-ping {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.status-ping .dot {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-ping .dot::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.status-ping.open .dot {
    background: #22c55e;
}

.status-ping.open .dot::before {
    background: #22c55e;
}

.status-ping.closed .dot {
    background: #ef4444;
}

.status-ping.closed .dot::before {
    background: #ef4444;
}

@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Table styles */
.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    background: #f3f4f6;
    font-weight: 600;
    text-align: left;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    border-bottom: 2px solid #e5e7eb;
}

.data-table td {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    border-bottom: 1px solid #e5e7eb;
}

.data-table tr:hover td {
    background: #f9fafb;
}

/* Admin tabs */
.admin-tab {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-bottom: 2px solid transparent;
    color: #636466;
    transition: all 0.2s;
}

.admin-tab:hover {
    color: #DA2128;
    border-bottom-color: #DA2128;
}

.admin-tab.active {
    color: #DA2128;
    border-bottom-color: #DA2128;
    font-weight: 600;
}

/* Form styles */
.form-input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    transition: border-color 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: #DA2128;
    box-shadow: 0 0 0 3px rgba(218, 33, 40, 0.1);
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
    color: #374151;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.5rem;
    background: #DA2128;
    color: white;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    transition: background 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #b91c22;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.5rem;
    background: #636466;
    color: white;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    transition: background 0.2s;
    border: none;
    cursor: pointer;
}

.btn-secondary:hover {
    background: #4a4b4d;
}
