/* =============================================
   iEnglish 抽獎系統 — 現代主題
   ============================================= */

:root {
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --primary-light: #e0e7ff;
    --secondary: #64748b;
    --success: #10b981;
    --success-hover: #059669;
    --danger: #ef4444;
    --danger-hover: #dc2626;
    --warning: #f59e0b;
    --info: #06b6d4;
    --info-hover: #0891b2;
    --bg: #f8fafc;
    --bg-card: #ffffff;
    --text: #1e293b;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
    --shadow: 0 4px 12px rgba(0,0,0,.08);
    --shadow-lg: 0 10px 30px rgba(0,0,0,.12);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --transition: all .2s ease;
}

* { box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
}

/* ===== Navbar ===== */
.navbar-custom {
    background: linear-gradient(135deg, var(--primary), #818cf8) !important;
    box-shadow: var(--shadow);
    padding: .75rem 0;
}
.navbar-custom .navbar-brand {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -.02em;
}
.navbar-custom .nav-link {
    color: rgba(255,255,255,.85) !important;
    font-weight: 500;
    padding: .5rem 1rem !important;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: #fff !important;
    background: rgba(255,255,255,.15);
}
.navbar-custom .user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.4);
}

/* ===== Page Layout ===== */
.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
}
.page-header {
    margin-bottom: 1.5rem;
}
.page-header h1 {
    font-weight: 700;
    font-size: 1.75rem;
    color: var(--text);
    margin-bottom: .25rem;
}
.page-header .subtitle {
    color: var(--text-muted);
    font-size: .95rem;
}

/* ===== Cards ===== */
.card-modern {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
}
.card-modern:hover {
    box-shadow: var(--shadow);
}
.card-modern .card-header-modern {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem;
}
.card-modern .card-header-modern h5 {
    margin: 0;
    font-weight: 600;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}
.card-modern .card-body-modern {
    padding: 1.25rem;
}

/* ===== Buttons ===== */
.btn {
    font-weight: 500;
    border-radius: var(--radius-sm);
    padding: .5rem 1rem;
    transition: var(--transition);
    border: none;
    font-size: .875rem;
}
.btn-primary-custom {
    background: var(--primary);
    color: #fff;
}
.btn-primary-custom:hover {
    background: var(--primary-hover);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99,102,241,.3);
}
.btn-success-custom {
    background: var(--success);
    color: #fff;
}
.btn-success-custom:hover {
    background: var(--success-hover);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16,185,129,.3);
}
.btn-danger-custom {
    background: var(--danger);
    color: #fff;
}
.btn-danger-custom:hover {
    background: var(--danger-hover);
    color: #fff;
}
.btn-info-custom {
    background: var(--info);
    color: #fff;
}
.btn-info-custom:hover {
    background: var(--info-hover);
    color: #fff;
}
.btn-outline-custom {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}
.btn-outline-custom:hover {
    background: var(--bg);
    border-color: var(--primary);
    color: var(--primary);
}
.btn-sm {
    padding: .3rem .65rem;
    font-size: .8rem;
}
.btn-lg-lottery {
    padding: 1rem 3rem;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--success), #34d399);
    color: #fff;
    box-shadow: 0 6px 20px rgba(16,185,129,.35);
    transition: var(--transition);
}
.btn-lg-lottery:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(16,185,129,.45);
    color: #fff;
}
.btn-lg-lottery:active {
    transform: translateY(0);
}

/* ===== Tables ===== */
.table-modern {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}
.table-modern thead th {
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .03em;
    padding: .75rem 1rem;
    border: none;
}
.table-modern thead th:first-child {
    border-radius: var(--radius-sm) 0 0 0;
}
.table-modern thead th:last-child {
    border-radius: 0 var(--radius-sm) 0 0;
}
.table-modern tbody td {
    padding: .75rem 1rem;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
    font-size: .9rem;
}
.table-modern tbody tr:hover {
    background: var(--primary-light);
}
.table-modern tbody tr:last-child td {
    border-bottom: none;
}

/* ===== Badges ===== */
.badge-status {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .3rem .6rem;
    border-radius: 50px;
    font-size: .75rem;
    font-weight: 600;
}
.badge-drawn {
    background: #dcfce7;
    color: #166534;
}
.badge-pending {
    background: #fef3c7;
    color: #92400e;
}
.badge-auto {
    background: #e0e7ff;
    color: #3730a3;
    font-size: .7rem;
}
.badge-stock-infinite {
    background: #f0fdf4;
    color: #166534;
}

/* ===== Modals ===== */
.modal-content {
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}
.modal-header {
    border-bottom: 1px solid var(--border);
    padding: 1.25rem 1.5rem;
}
.modal-title {
    font-weight: 600;
}
.modal-body {
    padding: 1.5rem;
}
.modal-footer {
    border-top: 1px solid var(--border);
    padding: 1rem 1.5rem;
}

/* ===== Form Controls ===== */
.form-control, .form-select {
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    padding: .6rem .9rem;
    transition: var(--transition);
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99,102,241,.15);
}
.form-label {
    font-weight: 500;
    font-size: .9rem;
    color: var(--text);
    margin-bottom: .35rem;
}

/* ===== Carousel ===== */
.carousel-modern {
    border-radius: var(--radius);
    overflow: hidden;
    background: #f1f5f9;
    min-height: 200px;
}
.carousel-modern .carousel-item img {
    max-height: 400px;
    object-fit: contain;
    margin: 0 auto;
}

/* ===== Tabs ===== */
.nav-tabs-modern {
    border: none;
    gap: .25rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.nav-tabs-modern::-webkit-scrollbar {
    display: none;
}
.nav-tabs-modern .nav-link {
    border: none;
    border-radius: var(--radius-sm);
    padding: .6rem 1.2rem;
    font-weight: 500;
    font-size: .9rem;
    color: var(--text-muted);
    white-space: nowrap;
    transition: var(--transition);
}
.nav-tabs-modern .nav-link:hover {
    color: var(--primary);
    background: var(--primary-light);
}
.nav-tabs-modern .nav-link.active {
    background: var(--primary);
    color: #fff;
}

/* ===== Lottery Page (Public) ===== */
.lottery-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem 1rem;
    text-align: center;
    color: #fff;
}
.lottery-title {
    font-weight: 800;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,.15);
}

/* Prize Gallery */
.prize-gallery {
    width: 100%;
    max-width: 700px;
    margin: 0 auto 2rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(10px);
}
.prize-gallery .carousel-inner img,
.prize-gallery-single img {
    width: 100%;
    max-height: 55vh;
    object-fit: contain;
    padding: 1rem;
}
.carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: .4rem 0 .75rem;
}
.carousel-nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    color: rgba(255,255,255,.5);
    font-size: .75rem;
    cursor: pointer;
    transition: all .25s ease;
}
.carousel-nav-btn:hover {
    background: rgba(255,255,255,.3);
    color: #fff;
}
.carousel-nav .carousel-indicators {
    position: static;
    display: flex;
    gap: 6px;
    margin: 0;
    padding: 0;
}
.carousel-nav .carousel-indicators button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,.35);
    border: none;
    opacity: 1;
    transition: all .25s ease;
}
.carousel-nav .carousel-indicators button.active {
    background: #fff;
    transform: scale(1.3);
}

/* Draw Button Area */
.lottery-draw-area {
    margin-top: 1rem;
}
.btn-draw {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    padding: 1rem 2.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 6px 25px rgba(238,90,36,.4);
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
}
.btn-draw::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,.2) 50%, transparent 70%);
    transform: translateX(-100%);
    animation: shimmer 2.5s ease-in-out infinite;
}
@keyframes shimmer {
    0%   { transform: translateX(-100%); }
    60%  { transform: translateX(100%); }
    100% { transform: translateX(100%); }
}
.btn-draw-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}
.btn-draw:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 35px rgba(238,90,36,.5);
}
.btn-draw:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none;
}

/* ===== Fullscreen Overlays ===== */
.overlay-fullscreen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: overlayIn .3s ease forwards;
}
@keyframes overlayIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.overlay-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .7);
    backdrop-filter: blur(12px);
}
.overlay-content {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 90%;
    max-width: 500px;
}
.overlay-page-name {
    color: #fff;
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 8px rgba(0,0,0,.3);
    opacity: .9;
}
.overlay-hint {
    color: rgba(255,255,255,.6);
    font-size: 1rem;
    margin-top: 1rem;
    animation: pulse 1.5s ease-in-out infinite;
}

/* Spinner (overlay version) */
.spinner-box-lg {
    width: 140px;
    height: 120px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,.2);
    position: relative;
}
.spinner-box-lg::before,
.spinner-box-lg::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    height: 30px;
    z-index: 2;
    pointer-events: none;
}
.spinner-box-lg::before {
    top: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,.5), transparent);
}
.spinner-box-lg::after {
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,.5), transparent);
}
.slot-reel {
    display: flex;
    flex-direction: column;
}
.slot-item-lg {
    width: 140px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    flex-shrink: 0;
}

/* Result Card (overlay version) */
.lottery-confetti {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}
.confetti-piece {
    position: absolute;
    top: -10px;
    border-radius: 2px;
    animation: confettiFall ease-out forwards;
}
@keyframes confettiFall {
    0%   { opacity: 1; transform: translateY(0) rotate(0deg); }
    100% { opacity: 0; transform: translateY(100vh) rotate(720deg); }
}
.result-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    color: var(--text);
    box-shadow: 0 20px 60px rgba(0,0,0,.3);
    opacity: 0;
    transform: scale(0.7) translateY(30px);
    max-height: 85vh;
    overflow-y: auto;
}
.result-card.result-animate {
    animation: cardReveal .6s cubic-bezier(.34,1.56,.64,1) forwards;
}
@keyframes cardReveal {
    to { opacity: 1; transform: scale(1) translateY(0); }
}
.result-emoji {
    font-size: 3.5rem;
    margin-bottom: .5rem;
    animation: tada 1s ease-in-out .5s both;
}
@keyframes tada {
    0%        { transform: scale(1); }
    10%, 20%  { transform: scale(.9) rotate(-3deg); }
    30%, 50%, 70%, 90% { transform: scale(1.1) rotate(3deg); }
    40%, 60%, 80%      { transform: scale(1.1) rotate(-3deg); }
    100%      { transform: scale(1); }
}
.result-label {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: .25rem;
}
.result-prize-name {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1rem;
}
.result-img-wrap {
    margin-bottom: 1rem;
}
.result-img-wrap img {
    width: 100%;
    max-width: 350px;
    max-height: 40vh;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.result-id {
    font-size: .82rem;
    color: var(--text-muted);
    background: var(--bg);
    padding: .4rem 1rem;
    border-radius: 50px;
    display: inline-block;
}

/* ===== Lightbox ===== */
.lightbox-overlay {
    cursor: pointer;
}
.lightbox-content {
    position: relative;
    z-index: 1;
    max-width: 90vw;
    max-height: 90vh;
    cursor: default;
    animation: lightboxIn .3s ease forwards;
}
@keyframes lightboxIn {
    from { opacity: 0; transform: scale(.85); }
    to   { opacity: 1; transform: scale(1); }
}
.lightbox-content img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.lightbox-close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.9);
    color: var(--text);
    font-size: 1rem;
    cursor: pointer;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.lightbox-close:hover {
    background: #fff;
    transform: scale(1.1);
}

/* ===== Login ===== */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1rem;
}
.login-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}
.login-card h1 {
    font-weight: 700;
    font-size: 1.75rem;
    margin-bottom: .5rem;
    color: var(--text);
}
.login-card .subtitle {
    color: var(--text-muted);
    margin-bottom: 2rem;
}
.btn-google {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    padding: .75rem 1.5rem;
    background: #fff;
    color: #444;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
    width: 100%;
    justify-content: center;
}
.btn-google:hover {
    background: #f8f8f8;
    box-shadow: var(--shadow);
    color: #222;
}
.btn-google img {
    width: 20px;
    height: 20px;
}

/* ===== Error Page ===== */
.error-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}
.error-container .error-icon {
    font-size: 4rem;
    color: var(--danger);
    margin-bottom: 1rem;
}
.error-container h1 {
    font-weight: 700;
    margin-bottom: .5rem;
}
.error-container p {
    color: var(--text-muted);
}

/* ===== Empty State ===== */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
}
.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: .5;
}
.empty-state p {
    font-size: 1rem;
}

/* ===== Action Buttons Group ===== */
.action-btns {
    display: flex;
    gap: .35rem;
    flex-wrap: wrap;
}

/* ===== Loading Spinner ===== */
.spinner-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(2px);
    transition: var(--transition);
}
.spinner-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

/* ===== Toastr Overrides ===== */
#toast-container > .toast {
    border-radius: var(--radius-sm) !important;
    box-shadow: var(--shadow) !important;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .page-container {
        padding: 1rem .75rem;
    }
    .page-header h1 {
        font-size: 1.35rem;
    }
    .card-modern .card-header-modern {
        padding: .75rem 1rem;
    }
    .card-modern .card-body-modern {
        padding: 1rem;
    }
    .btn {
        padding: .45rem .75rem;
    }
    .action-btns {
        flex-direction: column;
    }
    .action-btns .btn {
        width: 100%;
    }
    .table-modern thead th,
    .table-modern tbody td {
        padding: .5rem .65rem;
        font-size: .8rem;
    }
    .lottery-title {
        font-size: 1.5rem;
    }
    .home-content h1 {
        font-size: 1.75rem;
    }
    .btn-draw {
        padding: .8rem 1.8rem;
        font-size: 1.1rem;
        gap: .5rem;
    }
    .btn-draw-icon {
        width: 34px;
        height: 34px;
        font-size: .85rem;
    }
    .prize-gallery {
        border-radius: var(--radius);
    }
    .prize-gallery .carousel-inner img,
    .prize-gallery-single img {
        max-height: 40vh;
        padding: .5rem;
    }
    .overlay-content {
        width: 92%;
    }
    .overlay-page-name {
        font-size: 1.15rem;
    }
    .spinner-box-lg {
        width: 110px;
        height: 100px;
    }
    .slot-item-lg {
        width: 110px;
        height: 100px;
        font-size: 2.8rem;
    }
    .result-card {
        padding: 1.75rem 1.25rem;
        max-height: 80vh;
    }
    .result-emoji {
        font-size: 2.5rem;
    }
    .result-prize-name {
        font-size: 1.35rem;
    }
    .result-img-wrap img {
        max-width: 260px;
        max-height: 30vh;
    }
    .btn-lg-lottery {
        padding: .8rem 2rem;
        font-size: 1.25rem;
    }
    .login-card {
        padding: 1.75rem;
    }

    /* Mobile card view for tables */
    .mobile-card {
        display: flex;
        flex-direction: column;
        gap: .75rem;
    }
    .mobile-card-item {
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: var(--radius-sm);
        padding: 1rem;
    }
    .mobile-card-item .item-label {
        font-size: .75rem;
        color: var(--text-muted);
        text-transform: uppercase;
        letter-spacing: .04em;
        margin-bottom: .2rem;
    }
    .mobile-card-item .item-value {
        font-weight: 500;
    }
}

@media (max-width: 576px) {
    .navbar-custom .navbar-brand {
        font-size: 1.05rem;
    }
    .nav-tabs-modern .nav-link {
        padding: .5rem .9rem;
        font-size: .82rem;
    }
}

/* ===== Homepage ===== */
.home-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem 1rem;
    position: relative;
    overflow: hidden;
}
.home-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.particle {
    position: absolute;
    bottom: -40px;
    opacity: 0;
    animation: floatUp linear infinite;
}
@keyframes floatUp {
    0%   { opacity: 0; transform: translateY(0) rotate(0deg); }
    10%  { opacity: .7; }
    90%  { opacity: .7; }
    100% { opacity: 0; transform: translateY(-100vh) rotate(360deg); }
}
.home-content {
    text-align: center;
    color: #fff;
    max-width: 600px;
    margin: 0 auto;
}
.home-icon-wrap {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255,255,255,.3); }
    50%      { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(255,255,255,0); }
}
.home-content h1 {
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: .5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,.15);
}
.home-subtitle {
    font-size: 1.1rem;
    opacity: .85;
    margin-bottom: 2.5rem;
}
.home-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}
.home-step {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    text-align: left;
    transition: var(--transition);
}
.home-step:hover {
    background: rgba(255,255,255,.18);
    transform: translateX(6px);
}
.step-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.step-text strong {
    display: block;
    font-size: .95rem;
}
.step-text span {
    font-size: .82rem;
    opacity: .75;
}
.home-admin-link {
    margin-top: 1rem;
}
.btn-admin-login {
    display: inline-flex;
    align-items: center;
    padding: .6rem 1.5rem;
    color: rgba(255,255,255,.6);
    font-size: .85rem;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 50px;
    transition: var(--transition);
}
.btn-admin-login:hover {
    color: #fff;
    border-color: rgba(255,255,255,.5);
    background: rgba(255,255,255,.1);
}

/* ===== DataTables Overrides ===== */
.dataTables_wrapper .dataTables_length select,
.dataTables_wrapper .dataTables_filter input {
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    padding: .35rem 1.8rem .35rem .6rem;
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
    border-radius: var(--radius-sm) !important;
    border: 1px solid var(--border) !important;
    margin: 0 .15rem;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: var(--primary) !important;
    color: #fff !important;
    border-color: var(--primary) !important;
}
