/* ==========================================================================
   Ant Design inspired polish for public frontend
   NOTE: design tokens (colors, fonts, radius) live in style.css /
   campusreview.css — this file must NOT re-define :root variables or the
   body font, it only adds component-level polish.
   ========================================================================== */

/* Buttons */
.btn {
    border-radius: 6px;
    font-weight: 400;
    transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.btn-primary {
    box-shadow: 0 2px 0 rgba(5, 145, 255, 0.1);
}
.btn-primary:hover { transform: translateY(-1px); }

/* Cards */
.card, .admin-card {
    border-radius: 8px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.03), 0 1px 6px -1px rgba(0, 0, 0, 0.02);
    transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.08);
}

/* Form controls */
.form-control, .form-input, .form-textarea, input[type="text"], input[type="email"],
input[type="url"], input[type="number"], select, textarea {
    border-radius: 6px;
    transition: all 0.2s;
}
.form-control:focus, .form-input:focus, .form-textarea:focus,
input:focus, select:focus, textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(5, 145, 255, 0.1);
    outline: none;
}

/* Tables */
.table-wrap { border-radius: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-table thead th {
    background: #fafafa;
    font-weight: 600;
    font-size: 0.875rem;
}
.data-table tbody tr:hover td { background: #fafafa; }

/* Badges */
.badge, .admin-badge {
    border-radius: 4px;
    font-weight: 400;
}

/* Alerts */
.alert { border-radius: 6px; }

/* Topbar / header */
.site-header { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.03); }

/* Gold button: F7B801 background with black text */
.btn-gold, .btn.btn-gold, a.btn.btn-gold, a.btn.btn-gold.btn-lg, .btn.btn-gold.btn-lg {
    background-color: #F7B801 !important;
    color: #000000 !important;
    border-color: #F7B801 !important;
}
.btn-gold:hover, .btn.btn-gold:hover, a.btn.btn-gold:hover, a.btn.btn-gold.btn-lg:hover, .btn.btn-gold.btn-lg:hover {
    background-color: #e0a800 !important;
    color: #000000 !important;
    border-color: #e0a800 !important;
}

/* Brand gradient hero */
.hero, .page-hero, .hero-banner, .hero-section {
    background: var(--brand-gradient);
    color: #fff;
}
.hero h1, .page-hero h1, .hero-banner h1 { color: #fff; }
.hero .hero-subtitle, .page-hero .hero-subtitle { color: rgba(255,255,255,0.85); }

/* Gradient CTA button */
.btn-gradient, .btn-brand {
    background: var(--brand-gradient);
    color: #fff;
    border: none;
}
.btn-gradient:hover, .btn-brand:hover { opacity: 0.9; transform: translateY(-1px); }
