
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.pkreg{
    background: url('../images/bg-01.jpg') no-repeat center / cover;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    line-height: 1.5;
}

body.newhost{
    background: url('../images/bg-02.jpg') no-repeat center / cover;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    line-height: 1.5;
}

.reg-container {
    width: 100%;
    max-width: 400px;
    margin-bottom: 0;
}

.reg-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 48px 40px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02), 0 8px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.reg-header {
    text-align: center;
    margin-bottom: 32px;
}

.logo {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.reg-header h1 {
    color: #1a1f36;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.reg-header p {
    color: #8792a2;
    font-size: 14px;
    font-weight: 400;
}

/* Input Groups with Floating Labels */
.input-group {
    position: relative;
    margin-bottom: 24px;
}

.input-group input {
    width: 100%;
    background: #ffffff;
    border: 1px solid #e3e8ee;
    border-radius: 6px;
    padding: 16px 14px 8px 14px;
    color: #1a1f36;
    font-size: 16px;
    font-weight: 400;
    outline: none;
    transition: all 0.2s ease;
    font-family: inherit;
}

.input-group input:focus {
    border-color: #635BFF;
}

.input-group input::placeholder {
    color: transparent;
}

.input-group label {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #8792a2;
    font-size: 16px;
    font-weight: 400;
    pointer-events: none;
    transition: all 0.2s ease;
    background: #ffffff;
    padding: 0 2px;
}

.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label {
    top: 0;
    font-size: 12px;
    font-weight: 500;
    color: #635BFF;
    transform: translateY(-50%);
}

.input-group input:not(:focus):not(:placeholder-shown) + label {
    color: #6b7385;
}

/* Custom Border Animation */
.input-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #635BFF;
    transition: width 0.3s ease;
}

.input-group input:focus ~ .input-border {
    width: 100%;
}

/* Select styling (matches input fields) */
.input-group select {
    width: 100%;
    background: #ffffff;
    border: 1px solid #e3e8ee;
    border-radius: 6px;
    padding: 16px 14px 8px 14px;
    color: #1a1f36;
    font-size: 16px;
    font-weight: 400;
    outline: none;
    transition: all 0.2s ease;
    font-family: inherit;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.input-group select:focus {
    border-color: #635BFF;
}

.input-group select:focus + label,
.input-group select:valid + label {
    top: 0;
    font-size: 12px;
    font-weight: 500;
    color: #635BFF;
    transform: translateY(-50%);
}

.input-group select:not(:focus):valid + label {
    color: #6b7385;
}

.input-group select:focus ~ .input-border {
    width: 100%;
}

/* Password Toggle */
.input-group:has(.password-toggle) input {
    padding-right: 42px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #8792a2;
    padding: 6px;
    border-radius: 4px;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-toggle:hover {
    color: #635BFF;
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 16px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #6b7385;
    font-weight: 500;
}

.checkbox-container input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 1.5px solid #d1d9e0;
    border-radius: 4px;
    margin-right: 10px;
    position: relative;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark {
    background: #635BFF;
    border-color: #635BFF;
    color: white;
}

.forgot-link {
    color: #635BFF;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.forgot-link:hover {
    color: #4c44d4;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    background: #635BFF;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 14px 20px;
    cursor: pointer;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    position: relative;
    margin-bottom: 5px;
    transition: all 0.2s ease;
    overflow: hidden;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.submit-btn:hover {
    background: #4c44d4;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 91, 255, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    background: #a2a7b5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-text {
    transition: opacity 0.2s ease;
}

.btn-loader {
    position: absolute;
    opacity: 0;
    transition: opacity 0.2s ease;
    color: #ffffff;
}

.submit-btn.loading .btn-text {
    opacity: 0;
}

.submit-btn.loading .btn-loader {
    opacity: 1;
}

/* Divider */
.divider {
    text-align: center;
    margin: 24px 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e3e8ee;
}

.divider span {
    background: #ffffff;
    color: #8792a2;
    padding: 0 16px;
    font-size: 13px;
    font-weight: 500;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Social Buttons */
.social-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.social-btn {
    flex: 1;
    background: #ffffff;
    color: #6b7385;
    border: 1px solid #e3e8ee;
    border-radius: 6px;
    padding: 12px 16px;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    min-height: 44px;
}

.social-btn:hover {
    border-color: #d1d9e0;
    background: #f8f9fa;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.social-btn:active {
    transform: translateY(0);
}

/* Signup Link */
.signup-link {
    text-align: center;
    font-size: 14px;
    color: #8792a2;
}

.signup-link a {
    color: #635BFF;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.signup-link a:hover {
    color: #4c44d4;
    text-decoration: underline;
}

/* Error States */
.error-message {
    color: #f56565;
    font-size: 12px;
    font-weight: 500;
    margin-top: 6px;
    opacity: 0;
    transform: translateY(-4px);
    transition: all 0.2s ease;
}

.error-message.show {
    opacity: 1;
    transform: translateY(0);
}

.input-group.error input {
    border-color: #f56565;
    background: #fef5f5;
}

.input-group.error select {
    border-color: #f56565;
    background: #fef5f5;
}

.input-group.error input:focus {
    border-color: #f56565;
}

.input-group.error select:focus {
    border-color: #f56565;
}

.input-group.error label {
    color: #f56565;
}

.input-group.error .input-border {
    background: #f56565;
    width: 100%;
}

.input-group.error .error-message {
    opacity: 1;
    transform: translateY(0);
}

.error-message {
    display: block;
    margin-top: 8px;
    padding-left: 14px;
    color: #b42318;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    opacity: 0;
    transform: translateY(-4px);
    transition: all 0.2s ease;
}

.error-message.show {
    opacity: 1;
    transform: translateY(0);
}

/* Form Alerts */
.alert {
    position: relative;
    margin-bottom: 20px;
    padding: 14px 16px 14px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
    border: 1px solid transparent;
    box-shadow: 0 6px 18px rgba(17, 24, 39, 0.06);
    animation: messageSlideIn 0.25s ease;
}

.alert::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 4px;
    border-radius: 999px;
}

.alert-success {
    background: #eefaf3;
    color: #166534;
    border-color: #ccebd7;
}

.alert-success::before {
    background: #22c55e;
}

.alert-danger {
    background: #fff1f2;
    color: #b42318;
    border-color: #fecdd3;
}

.alert-danger::before {
    background: #ef4444;
}

.text-center {
    text-align: center;
}

.success-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 8px;
}

.success-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.success-action-primary {
    background: #635BFF;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(99, 91, 255, 0.24);
}

.success-action-primary:hover {
    background: #4c44d4;
}

.success-action-secondary {
    background: #ffffff;
    color: #1a1f36;
    border: 1px solid #d9deea;
}

.success-action-secondary:hover {
    background: #f8f9fc;
    border-color: #c8cfde;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Success Message */
.success-message {
    display: none;
    text-align: center;
    padding: 32px 20px;
    opacity: 0;
    transform: translateY(16px);
    transition: all 0.3s ease;
}

.success-message.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.success-icon {
    margin: 0 auto 16px;
    animation: successPop 0.5s ease-out;
}

@keyframes successPop {
    0% { transform: scale(0); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.success-message h3 {
    color: #1a1f36;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.success-message p {
    color: #8792a2;
    font-size: 14px;
}

/* Mobile Responsive */
@media (max-width: 480px) {
    body {
        padding: 16px;
    }
    
    .reg-card {
        padding: 36px 28px;
        border-radius: 8px;
    }
    
    .reg-header h1 {
        font-size: 1.375rem;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .social-buttons {
        flex-direction: column;
    }
}

/* ============================================================
   index.php — White/Violet Landing Page
   ============================================================ */

body.index-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 8% 14%, rgba(139, 92, 246, 0.2), transparent 34%),
        radial-gradient(circle at 92% 0%, rgba(196, 181, 253, 0.35), transparent 38%),
        linear-gradient(180deg, #ffffff 0%, #f8f4ff 60%, #f5efff 100%);
    color: #1f1a36;
    overflow-x: hidden;
}

body.index-page .orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
}
body.index-page .orb-1 { width: 520px; height: 520px; background: #c4b5fd; opacity: 0.38; top: -220px; left: -120px; animation: idx-drift1 12s ease-in-out infinite alternate; }
body.index-page .orb-2 { width: 420px; height: 420px; background: #ddd6fe; opacity: 0.3; bottom: -140px; right: -100px; animation: idx-drift2 14s ease-in-out infinite alternate; }
body.index-page .orb-3 { width: 360px; height: 360px; background: #ede9fe; opacity: 0.5; top: 40%; left: 52%; animation: idx-drift1 10s ease-in-out infinite alternate; }
@keyframes idx-drift1 { from { transform: translate(0, 0); } to { transform: translate(28px, 22px); } }
@keyframes idx-drift2 { from { transform: translate(0, 0); } to { transform: translate(-26px, -18px); } }

body.index-page .content-wrap { position: relative; z-index: 1; }

/* Navbar */
body.index-page .navbar {
    background: rgba(255, 255, 255, 0.74);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(109, 40, 217, 0.12);
    padding: 0.9rem 1.5rem;
    box-shadow: 0 8px 22px rgba(124, 58, 237, 0.08);
}
body.index-page .navbar-brand-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    margin-right: 0.5rem;
}
body.index-page .navbar-logo-img {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    object-fit: cover;
    display: block;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
body.index-page .navbar-brand-logo:hover .navbar-logo-img {
    transform: scale(1.05);
    box-shadow: 0 6px 24px rgba(124, 58, 237, 0.5);
}
body.index-page .brand-name {
    margin-left: 10px;
    font-size: 0.97rem;
    font-weight: 800;
    background: linear-gradient(125deg, #6d28d9 0%, #a855f7 60%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.01em;
    white-space: nowrap;
}
body.index-page .nav-link {
    color: #4c1d95 !important;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 0.45rem 0.9rem !important;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}
body.index-page .nav-link:hover,
body.index-page .nav-link:focus { background: rgba(139, 92, 246, 0.14); color: #3b0764 !important; }
body.index-page .navbar-toggler { border-color: rgba(109, 40, 217, 0.35); }
body.index-page .navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(91,33,182,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }

body.index-page .events-menu {
    border: 1px solid rgba(139, 92, 246, 0.22);
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 14px 30px rgba(76, 29, 149, 0.12);
    padding: 0.35rem;
}
body.index-page .events-menu .dropdown-item {
    color: #4c1d95;
    font-size: 0.86rem;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.48rem 0.7rem;
}
body.index-page .events-menu .dropdown-item:hover,
body.index-page .events-menu .dropdown-item:focus {
    background: #f3e8ff;
    color: #3b0764;
}

/* Hero */
body.index-page .hero {
    padding: 5.5rem 1rem 3.2rem;
    text-align: center;
    position: relative;
}
body.index-page .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 55% at 50% 45%, rgba(139, 92, 246, 0.16) 0%, transparent 66%);
    pointer-events: none;
}
body.index-page .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: #faf5ff;
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #6d28d9;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.35em 1em;
    border-radius: 30px;
    margin-bottom: 1.6rem;
}
body.index-page .hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: #10b981; box-shadow: 0 0 6px #10b981; animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

body.index-page .hero-logo-wrap { display: flex; justify-content: center; margin-bottom: 1.8rem; }
body.index-page .hero-logo {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(139, 92, 246, 0.38);
    box-shadow:
        0 0 0 6px rgba(139, 92, 246, 0.12),
        0 0 36px rgba(139, 92, 246, 0.28),
        0 10px 26px rgba(76, 29, 149, 0.12);
    animation: logo-pulse 3s ease-in-out infinite;
}
@keyframes logo-pulse {
    0%, 100% { box-shadow: 0 0 0 6px rgba(139, 92, 246, 0.12), 0 0 36px rgba(139, 92, 246, 0.28), 0 10px 26px rgba(76, 29, 149, 0.12); }
    50% { box-shadow: 0 0 0 10px rgba(139, 92, 246, 0.09), 0 0 52px rgba(139, 92, 246, 0.38), 0 10px 26px rgba(76, 29, 149, 0.12); }
}
body.index-page .hero h1 {
    font-size: clamp(2.2rem, 7vw, 4.1rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.025em;
    margin-bottom: 1.1rem;
    color: #2f1e56;
}
body.index-page .gradient-text {
    background: linear-gradient(100deg, #7c3aed 0%, #9333ea 48%, #4c1d95 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
body.index-page .hero-sub {
    font-size: 1rem;
    color: #5b5471;
    max-width: 560px;
    margin: 0 auto 2.5rem;
    line-height: 1.75;
}
body.index-page .hero-cta-wrap { display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center; margin-bottom: 2.5rem; }
body.index-page .btn-primary-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #7c3aed, #5b21b6);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 0.72rem 1.6rem;
    font-weight: 700;
    font-size: 0.92rem;
    box-shadow: 0 8px 26px rgba(91, 33, 182, 0.28);
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}
body.index-page .btn-primary-hero:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(91, 33, 182, 0.38); color: #fff; }
body.index-page .btn-ghost-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.65);
    color: #5b21b6;
    border: 1px solid rgba(139, 92, 246, 0.28);
    border-radius: 12px;
    padding: 0.72rem 1.6rem;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}
body.index-page .btn-ghost-hero:hover { background: #ffffff; border-color: rgba(139, 92, 246, 0.5); color: #3b0764; }

/* Agency promo */
body.index-page .promo-panel {
    padding-top: 0.3rem;
}
body.index-page .promo-top {
    background: #f7f7fb;
    border-radius: 22px;
    padding: 2.2rem 1.2rem 1.5rem;
    margin-bottom: 1.2rem;
    border: 1px solid rgba(26, 47, 120, 0.08);
}
body.index-page .promo-main-title {
    text-align: center;
    font-size: clamp(1.45rem, 3.4vw, 2.35rem);
    font-weight: 900;
    color: #17307a;
    margin-bottom: 1.4rem;
    letter-spacing: -0.02em;
}
body.index-page .promo-pillars {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.95rem;
}
body.index-page .promo-pillar {
    background: #ffffff;
    border: 1px solid #e3e8f5;
    border-radius: 14px;
    box-shadow: 0 8px 18px rgba(18, 36, 89, 0.12);
    padding: 1.15rem 1rem;
    text-align: center;
}
body.index-page .promo-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #1269c7;
    color: #ffffff;
    margin: 0 auto 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    box-shadow: 0 8px 18px rgba(18, 105, 199, 0.25);
}
body.index-page .promo-pillar h5 {
    color: #1c3172;
    font-size: 0.98rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
}
body.index-page .promo-pillar p {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.55;
    color: #5a647e;
}
body.index-page .promo-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 340px);
    gap: 1.3rem;
    align-items: center;
    border-radius: 22px;
    overflow: hidden;
    background: linear-gradient(140deg, #111c61 0%, #0d174f 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 34px rgba(16, 29, 90, 0.28);
}
body.index-page .promo-media {
    position: relative;
    width: min(100%, 300px);
    aspect-ratio: 3 / 4;
    margin: 1.2rem auto;
    border-radius: 14px;
    overflow: hidden;
}
body.index-page .promo-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 15, 45, 0.02) 0%, rgba(10, 15, 45, 0.26) 100%);
}
body.index-page .promo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transform: scale(1.02);
}
body.index-page .promo-content {
    padding: 2.2rem 2.2rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
body.index-page .promo-title {
    font-size: clamp(1.35rem, 3.1vw, 2rem);
    font-weight: 900;
    line-height: 1.2;
    color: #ffffff;
    margin: 0 0 0.8rem;
}
body.index-page .promo-copy {
    font-size: 0.94rem;
    line-height: 1.75;
    color: #d8def3;
    margin-bottom: 1.25rem;
    max-width: 42ch;
}
body.index-page .promo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

/* Section labels */
body.index-page .section-label {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #7c3aed;
    margin-bottom: 0.6rem;
}
body.index-page .section-title { font-size: 1.6rem; font-weight: 800; color: #2f1e56; margin-bottom: 0.5rem; }
body.index-page .section-sub { font-size: 0.9rem; color: #655e7a; }

/* New content panels */
body.index-page .home-panel {
    padding: 2rem 1rem;
}
body.index-page .slider-shell {
    background: linear-gradient(125deg, #f3e8ff, #ede9fe);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 24px;
    padding: 1.2rem;
    box-shadow: 0 14px 30px rgba(124, 58, 237, 0.12);
}
body.index-page .slider-track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}
body.index-page .slide-card {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 16px;
    padding: 1.2rem;
    min-height: 150px;
}
body.index-page .slide-card h5 {
    font-size: 1rem;
    color: #4c1d95;
    font-weight: 800;
    margin-bottom: 0.45rem;
}
body.index-page .slide-card p {
    font-size: 0.86rem;
    line-height: 1.6;
    margin: 0;
    color: #5f5a74;
}

/* Carousel Styles */
body.index-page .carousel-container {
    position: relative;
    width: 100%;
}

body.index-page .carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
    background: #f8f7fb;
    border: 1px solid rgba(139, 92, 246, 0.15);
    box-shadow: 0 12px 28px rgba(109, 40, 217, 0.12);
}

body.index-page .carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 0;
}

body.index-page .carousel-slide {
    flex: 0 0 100%;
    display: flex;
    flex-direction: column;
    min-height: 300px;
}

body.index-page .carousel-image-wrap {
    position: relative;
    flex: 1;
    overflow: hidden;
    background: linear-gradient(135deg, #f3e8ff, #ede9fe);
}

body.index-page .carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

body.index-page .carousel-slide:hover .carousel-image {
    transform: scale(1.05);
}

body.index-page .carousel-caption {
    padding: 0.95rem 1rem;
    background: rgba(255, 255, 255, 0.92);
    border-top: 1px solid rgba(139, 92, 246, 0.12);
}

body.index-page .carousel-caption h5 {
    font-size: 1rem;
    font-weight: 800;
    color: #4c1d95;
    margin: 0 0 0.35rem;
}

body.index-page .carousel-caption p {
    font-size: 0.86rem;
    line-height: 1.55;
    margin: 0;
    color: #5f5a74;
}

/* Navigation Buttons */
body.index-page .carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(124, 58, 237, 0.88);
    border: none;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.2s ease;
    z-index: 5;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.35);
}

body.index-page .carousel-nav:hover {
    background: rgba(99, 91, 255, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.45);
}

body.index-page .carousel-nav:active {
    transform: translateY(-50%) scale(0.95);
}

body.index-page .carousel-prev {
    left: 1rem;
}

body.index-page .carousel-next {
    right: 1rem;
}

/* Carousel Indicators */
body.index-page .carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    padding: 1.2rem 1rem 0;
}

body.index-page .indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

body.index-page .indicator.active {
    background: #7c3aed;
    width: 28px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.35);
}

body.index-page .indicator:hover {
    background: rgba(139, 92, 246, 0.55);
}

body.index-page .news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.95rem;
}
body.index-page .news-card {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(139, 92, 246, 0.17);
    border-radius: 16px;
    padding: 1.2rem;
    box-shadow: 0 8px 20px rgba(91, 33, 182, 0.08);
}
body.index-page .news-card h5 {
    font-size: 0.98rem;
    font-weight: 800;
    color: #4c1d95;
    margin-bottom: 0.45rem;
}
body.index-page .news-card p {
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0;
    color: #645f79;
}

body.index-page .millionaires-wrap {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
body.index-page .millionaire-tile {
    background: linear-gradient(145deg, #ffffff, #f5f0ff);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 18px;
    padding: 1.3rem;
    box-shadow: 0 12px 28px rgba(91, 33, 182, 0.1);
}
body.index-page .millionaire-photo-wrap {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(139, 92, 246, 0.28);
    margin-bottom: 0.85rem;
    background: #ede9fe;
    box-shadow: 0 12px 26px rgba(91, 33, 182, 0.16);
}
body.index-page .millionaire-photo {
    display: block;
    width: 100%;
    height: 360px;
    object-fit: cover;
    object-position: center top;
    filter: saturate(1.08) contrast(1.06);
    transition: transform 0.25s ease;
}
body.index-page .millionaire-tile:hover .millionaire-photo {
    transform: scale(1.04);
}
body.index-page .badge-tag {
    display: inline-flex;
    align-items: center;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6d28d9;
    background: #f3e8ff;
    border-radius: 999px;
    padding: 0.3rem 0.65rem;
    margin-bottom: 0.7rem;
}
body.index-page .millionaire-tile h5 {
    font-size: 1.02rem;
    font-weight: 800;
    color: #3b0764;
    margin-bottom: 0.45rem;
}
body.index-page .millionaire-tile p {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.65;
    color: #615b76;
}

/* Talent Grid Showcase */
body.index-page .talent-grid-panel {
    background: linear-gradient(135deg, rgba(243, 232, 255, 0.5), rgba(237, 233, 254, 0.3));
}

body.index-page .talent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}

body.index-page .talent-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(139, 92, 246, 0.12);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(109, 40, 217, 0.08);
}

body.index-page .talent-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(109, 40, 217, 0.16);
    border-color: rgba(139, 92, 246, 0.28);
}

body.index-page .talent-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: linear-gradient(135deg, #f3e8ff, #ede9fe);
}

body.index-page .talent-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.35s ease;
}

body.index-page .talent-card:hover .talent-image {
    transform: scale(1.08);
}

body.index-page .talent-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.25s ease;
}

body.index-page .talent-card:hover .talent-overlay {
    opacity: 1;
}

body.index-page .talent-btn {
    background: rgba(124, 58, 237, 0.95);
    border: none;
    color: #ffffff;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

body.index-page .talent-btn:hover {
    background: rgba(99, 91, 255, 1);
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(124, 58, 237, 0.4);
}

body.index-page .talent-info {
    padding: 0.85rem 0.75rem;
    text-align: center;
}

body.index-page .talent-info h6 {
    font-size: 0.82rem;
    font-weight: 800;
    color: #4c1d95;
    margin: 0 0 0.2rem;
}

body.index-page .talent-info p {
    font-size: 0.7rem;
    color: #8b7aa0;
    margin: 0;
}

/* Cards */
body.index-page .menu-card {
    border-radius: 20px;
    border: 1px solid rgba(139, 92, 246, 0.18);
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
    overflow: hidden;
    text-decoration: none;
    display: block;
    color: inherit;
    box-shadow: 0 10px 24px rgba(109, 40, 217, 0.08);
}
body.index-page .menu-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(124, 58, 237, 0.15);
    border-color: rgba(139, 92, 246, 0.35);
    color: inherit;
}
body.index-page .card-divider { height: 3px; }
body.index-page .card-view .card-divider { background: linear-gradient(90deg, #6d28d9, #7c3aed); }
body.index-page .card-pk .card-divider { background: linear-gradient(90deg, #c026d3, #ea580c); }
body.index-page .card-host .card-divider { background: linear-gradient(90deg, #6d28d9, #2563eb); }
body.index-page .menu-card .card-body-inner { padding: 1.75rem; }
body.index-page .card-icon-wrap {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.1rem;
}
body.index-page .card-view .card-icon-wrap { background: linear-gradient(135deg, #6d28d9, #7c3aed); box-shadow: 0 4px 18px rgba(109, 40, 217, 0.3); }
body.index-page .card-pk .card-icon-wrap { background: linear-gradient(135deg, #c026d3, #ea580c); box-shadow: 0 4px 18px rgba(192, 38, 211, 0.3); }
body.index-page .card-host .card-icon-wrap { background: linear-gradient(135deg, #6d28d9, #2563eb); box-shadow: 0 4px 18px rgba(37, 99, 235, 0.3); }
body.index-page .menu-card h3 { font-size: 1.05rem; font-weight: 700; color: #2f1e56; margin-bottom: 0.45rem; }
body.index-page .menu-card p { font-size: 0.85rem; color: #655e7a; margin-bottom: 1.1rem; line-height: 1.65; }
body.index-page .card-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #6d28d9;
    transition: gap 0.2s;
}
body.index-page .menu-card:hover .card-arrow { gap: 0.65rem; }

/* Featured Talents Section */
body.index-page .talents-showcase {
    background: linear-gradient(180deg, #ffffff 0%, #f8f7fb 100%);
}

body.index-page .talents-featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

body.index-page .talent-featured-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(109, 40, 217, 0.12);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.index-page .talent-featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(109, 40, 217, 0.24);
}

body.index-page .talent-featured-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: linear-gradient(135deg, #f3e8ff, #ede9fe);
}

body.index-page .talent-featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transform: scale(1);
    transition: transform 0.4s ease;
}

body.index-page .talent-featured-card:hover .talent-featured-image {
    transform: scale(1.08);
}

body.index-page .talent-featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.6) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

body.index-page .talent-featured-card:hover .talent-featured-overlay {
    opacity: 1;
}

body.index-page .talent-featured-overlay h4 {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

body.index-page .talent-featured-overlay p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

body.index-page .talent-featured-btn {
    background: #7c3aed;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

body.index-page .talent-featured-btn:hover {
    background: #6d28d9;
    transform: scale(1.05);
}

/* Why Join Section */
body.index-page .why-join-panel {
    background: linear-gradient(135deg, rgba(243, 232, 255, 0.3), rgba(237, 233, 254, 0.5));
}

body.index-page .why-join-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

body.index-page .why-join-text {
    padding: 0.5rem;
}

body.index-page .why-join-title {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 900;
    color: #2f1e56;
    margin-bottom: 1rem;
    line-height: 1.2;
}

body.index-page .why-join-description {
    font-size: 1rem;
    line-height: 1.75;
    color: #5f5a74;
    margin-bottom: 1.5rem;
}

body.index-page .why-join-features {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 1.8rem;
}

body.index-page .feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

body.index-page .feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #7c3aed, #5b21b6);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.28);
}

body.index-page .feature-item h6 {
    font-size: 1rem;
    font-weight: 800;
    color: #3b0764;
    margin-bottom: 0.3rem;
}

body.index-page .feature-item p {
    font-size: 0.85rem;
    color: #5f5a74;
    margin: 0;
    line-height: 1.55;
}

body.index-page .why-join-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(109, 40, 217, 0.18);
}

body.index-page .why-join-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Carousel Panel */
body.index-page .carousel-panel {
    background: rgba(243, 232, 255, 0.3);
    display: none;
}

/* Achievements Panel */
body.index-page .achievements-panel {
    background: linear-gradient(180deg, #ffffff 0%, #f9f7fc 100%);
}

body.index-page .achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

body.index-page .achievement-card {
    border-radius: 18px;
    overflow: hidden;
    background: white;
    border: 1px solid rgba(139, 92, 246, 0.15);
    box-shadow: 0 8px 24px rgba(109, 40, 217, 0.1);
    transition: all 0.3s ease;
}

body.index-page .achievement-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(109, 40, 217, 0.18);
}

body.index-page .achievement-image-wrap {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #f3e8ff, #ede9fe);
}

body.index-page .achievement-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

body.index-page .achievement-info {
    padding: 1.5rem;
    text-align: center;
}

body.index-page .achievement-info h5 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #4c1d95;
    margin-bottom: 0.5rem;
}

body.index-page .achievement-stat {
    font-size: 1rem;
    font-weight: 700;
    color: #7c3aed;
    margin-bottom: 0.5rem;
}

body.index-page .achievement-desc {
    font-size: 0.85rem;
    color: #5f5a74;
    margin: 0;
    line-height: 1.65;
}

/* Quick Nav Cards */
body.index-page .quick-nav-panel {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(196, 181, 253, 0.05));
}

body.index-page .quick-nav-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(139, 92, 246, 0.15);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(109, 40, 217, 0.08);
    position: relative;
    overflow: hidden;
}

body.index-page .quick-nav-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #7c3aed, #9333ea);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

body.index-page .quick-nav-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 36px rgba(109, 40, 217, 0.18);
    border-color: rgba(139, 92, 246, 0.3);
}

body.index-page .quick-nav-card:hover::before {
    transform: scaleX(1);
}

body.index-page .quick-nav-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, #7c3aed, #5b21b6);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.28);
    transition: all 0.3s ease;
}

body.index-page .quick-nav-card:hover .quick-nav-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 28px rgba(124, 58, 237, 0.38);
}

body.index-page .quick-nav-card h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #4c1d95;
    margin-bottom: 0.5rem;
}

body.index-page .quick-nav-card p {
    font-size: 0.85rem;
    color: #5f5a74;
    margin-bottom: 1rem;
    line-height: 1.5;
}

body.index-page .quick-nav-arrow {
    color: #7c3aed;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

body.index-page .quick-nav-card:hover .quick-nav-arrow {
    transform: translateX(4px);
}

/* Feature strip */
body.index-page .feature-strip {
    background: rgba(255, 255, 255, 0.7);
    border-top: 1px solid rgba(139, 92, 246, 0.14);
    border-bottom: 1px solid rgba(139, 92, 246, 0.14);
    padding: 2.5rem 1rem;
}
body.index-page .feat-item { text-align: center; }
body.index-page .feat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin: 0 auto 0.75rem;
    background: rgba(139, 92, 246, 0.14);
    color: #7c3aed;
    border: 1px solid rgba(139, 92, 246, 0.2);
}
body.index-page .feat-item h6 { font-size: 0.9rem; font-weight: 700; color: #3b0764; margin-bottom: 0.3rem; }
body.index-page .feat-item p { font-size: 0.8rem; color: #655e7a; margin: 0; line-height: 1.55; }

/* Footer */
body.index-page footer {
    text-align: center;
    padding: 2rem 1rem;
    color: #6b6482;
    font-size: 0.8rem;
    border-top: 1px solid rgba(139, 92, 246, 0.1);
    margin-top: 1rem;
}
body.index-page footer span { color: #6d28d9; }
body.index-page .social-links { display: flex; justify-content: center; gap: 0.7rem; margin-bottom: 1rem; }
body.index-page .social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: #7c3aed;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
body.index-page .social-links a:hover { background: #f3e8ff; color: #5b21b6; border-color: rgba(139, 92, 246, 0.5); transform: translateY(-2px); }

@media (max-width: 991.98px) {
    body.index-page .slider-track,
    body.index-page .news-grid,
    body.index-page .promo-pillars,
    body.index-page .millionaires-wrap {
        grid-template-columns: 1fr;
    }
    body.index-page .home-panel {
        padding: 2rem 1rem;
    }
    body.index-page .millionaire-photo {
        height: 300px;
    }
    body.index-page .promo-shell {
        grid-template-columns: 1fr;
    }
    body.index-page .promo-media {
        width: min(100%, 240px);
        aspect-ratio: 3 / 4;
        max-height: 320px;
    }
    body.index-page .promo-content {
        padding: 1.5rem 1.2rem 1.6rem;
    }
    body.index-page .talent-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
    }
    body.index-page .carousel-slide {
        min-height: 260px;
    }
    body.index-page .carousel-nav {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    body.index-page .carousel-prev {
        left: 0.75rem;
    }
    body.index-page .carousel-next {
        right: 0.75rem;
    }
    body.index-page .carousel-caption {
        padding: 1rem;
    }
    body.index-page .talents-featured-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    body.index-page .why-join-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    body.index-page .why-join-title {
        font-size: 1.5rem;
    }
    body.index-page .achievements-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    body.index-page .achievement-image-wrap {
        height: 240px;
    }
}

/* Fade-up animation */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* ============================================================
   viewpk.php & managepks.php — PK Schedule / Admin Table Pages
   ============================================================ */

/* Base */
body.pk-page {
	background: #f5f3ff;
	min-height: 100vh;
	color: #1e1b4b;
	overflow-x: hidden;
	padding-bottom: 3rem;
}

/* Layout for managepk2 (sidebar) */
body.pk-page .main-content {
	margin-left: 250px;
	min-height: 100vh;
	padding-bottom: 3rem;
	transition: margin-left 0.3s ease;
}

@media (max-width: 1200px) and (min-width: 769px) {
    body.pk-page .sidebar {
        width: 220px;
    }
    body.pk-page .main-content {
        margin-left: 220px;
    }
}

/* Background mesh */
body.pk-page .bg-mesh { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
body.pk-page .orb { position: absolute; border-radius: 50%; filter: blur(110px); pointer-events: none; }
body.pk-page .orb-1 { width: 650px; height: 650px; background: radial-gradient(circle, #a78bfa, transparent 70%); opacity: 0.18; top: -220px; left: -160px; animation: drift1 14s ease-in-out infinite alternate; }
body.pk-page .orb-2 { width: 500px; height: 500px; background: radial-gradient(circle, #818cf8, transparent 70%); opacity: 0.12; bottom: -150px; right: -130px; animation: drift2 16s ease-in-out infinite alternate; }
body.pk-page .orb-3 { width: 380px; height: 380px; background: radial-gradient(circle, #ec4899, transparent 70%); opacity: 0.07; top: 45%; left: 50%; animation: drift1 11s ease-in-out infinite alternate; }
body.pk-page .orb-4 { width: 280px; height: 280px; background: radial-gradient(circle, #38bdf8, transparent 70%); opacity: 0.08; top: 20%; right: 8%; animation: drift2 9s ease-in-out infinite alternate; }
@keyframes drift1 { from { transform: translate(0,0) scale(1); } to { transform: translate(40px,30px) scale(1.05); } }
@keyframes drift2 { from { transform: translate(0,0) scale(1); } to { transform: translate(-30px,-25px) scale(1.05); } }
body.pk-page .bg-grid {
	position: fixed; inset: 0; z-index: 0; pointer-events: none;
	background-image: linear-gradient(rgba(109,40,217,0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(109,40,217,0.045) 1px, transparent 1px);
	background-size: 44px 44px;
}
body.pk-page .content-wrap { position: relative; z-index: 1; }

/* Animations */
@keyframes shimmer { to { background-position: 200% center; } }
@keyframes spin    { to { transform: rotate(360deg); } }
@keyframes popIn   { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

/* Navbar */
body.pk-page .navbar {
	background: rgba(255, 255, 255, 0.74);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border-bottom: 1px solid rgba(109, 40, 217, 0.12);
	padding: 0.9rem 1.5rem;
	box-shadow: 0 8px 22px rgba(124, 58, 237, 0.08);
}
body.pk-page .nav-link { color: #4c1d95 !important; font-weight: 600; font-size: 0.88rem; padding: 0.45rem 0.9rem !important; border-radius: 8px; transition: background 0.2s, color 0.2s; }
body.pk-page .nav-link:hover,
body.pk-page .nav-link:focus { background: rgba(139, 92, 246, 0.14); color: #3b0764 !important; }
body.pk-page .navbar-toggler { border-color: rgba(109, 40, 217, 0.35); }
body.pk-page .navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(91,33,182,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }
body.pk-page .navbar-brand-logo { display: inline-flex; align-items: center; text-decoration: none; margin-right: 0.5rem; }
body.pk-page .brand-name {
    margin-left: 10px;
    font-size: 0.97rem;
    font-weight: 800;
    background: linear-gradient(125deg, #6d28d9 0%, #a855f7 60%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.01em;
    white-space: nowrap;
}
body.pk-page .navbar-logo-img {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    object-fit: cover;
    display: block;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
body.pk-page .navbar-brand-logo:hover .navbar-logo-img { transform: scale(1.05); box-shadow: 0 6px 24px rgba(124, 58, 237, 0.5); }
body.pk-page .events-menu {
    border: 1px solid rgba(139, 92, 246, 0.22);
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 14px 30px rgba(76, 29, 149, 0.12);
    padding: 0.35rem;
}
body.pk-page .events-menu .dropdown-item {
    color: #4c1d95;
    font-size: 0.86rem;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.48rem 0.7rem;
}
body.pk-page .events-menu .dropdown-item:hover,
body.pk-page .events-menu .dropdown-item:focus {
    background: #f3e8ff;
    color: #3b0764;
}

/* Hero */
body.pk-page .hero { padding: 3.5rem 0 1.75rem; text-align: center; animation: popIn 0.6s ease both; }
body.pk-page .hero-eyebrow {
	display: inline-flex; align-items: center; gap: 0.5rem;
	background: rgba(109,40,217,0.08); border: 1px solid rgba(109,40,217,0.2);
	border-radius: 100px; padding: 0.3rem 1rem;
	font-size: 0.72rem; font-weight: 700; color: #7c3aed;
	letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1.25rem;
}
body.pk-page .hero h1 {
	font-size: clamp(1.9rem, 5vw, 3rem); font-weight: 900;
	line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 0.75rem;
	background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 40%, #a855f7 80%, #4f46e5 100%);
	background-size: 200%;
	-webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
	animation: shimmer 5s linear infinite;
}
body.pk-page .hero p { color: #9ca3af; font-size: 0.95rem; max-width: 440px; margin: 0 auto 2rem; }

/* Stats strip */
body.pk-page .stats-strip { display: flex; justify-content: center; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
body.pk-page .stat-pill {
	display: inline-flex; align-items: center; gap: 0.5rem;
	background: #ffffff; border: 1px solid rgba(109,40,217,0.14);
	border-radius: 100px; padding: 0.5rem 1.2rem;
	font-size: 0.82rem; font-weight: 600; color: #6b7280;
	box-shadow: 0 2px 8px rgba(109,40,217,0.07); transition: all 0.2s;
}
body.pk-page .stat-pill:hover { border-color: rgba(109,40,217,0.3); box-shadow: 0 4px 16px rgba(109,40,217,0.12); transform: translateY(-1px); }
body.pk-page .stat-pill .stat-num { color: #7c3aed; font-weight: 800; font-size: 1rem; }
body.pk-page .stat-pill i { color: #8b5cf6; font-size: 0.85rem; }

/* Toolbar */
body.pk-page .toolbar { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-bottom: 0.75rem; }
body.pk-page .search-field { position: relative; flex: 1; min-width: 220px; max-width: 300px; }
body.pk-page .search-field .field-icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: #8b5cf6; font-size: 0.9rem; pointer-events: none; z-index: 2; }
body.pk-page .search-field .field-clear { position: absolute; right: 0.9rem; top: 50%; transform: translateY(-50%); background: none; border: none; color: #9ca3af; cursor: pointer; display: none; z-index: 2; padding: 0; font-size: 0.9rem; transition: color 0.2s; }
body.pk-page .search-field .field-clear:hover { color: #ef4444; }
body.pk-page .search-field input {
	width: 100%; background: #ffffff;
	border: 1.5px solid rgba(109,40,217,0.18); border-radius: 12px;
	color: #1e1b4b; font-size: 0.9rem; font-weight: 500;
	padding: 0.7rem 2.8rem 0.7rem 2.8rem;
	outline: none; box-shadow: 0 1px 6px rgba(109,40,217,0.06); transition: all 0.25s; font-family: inherit;
}
body.pk-page .search-field input::placeholder { color: #c4b5fd; }
body.pk-page .search-field input:focus { border-color: #8b5cf6; box-shadow: 0 0 0 3px rgba(139,92,246,0.12), 0 1px 6px rgba(109,40,217,0.08); }
body.pk-page .search-field input[type="date"] {
    color-scheme: light;
    appearance: none;
    -webkit-appearance: none;
    line-height: 1.2;
    height: 44px;
}
body.pk-page .search-field input[type="date"]::-webkit-datetime-edit,
body.pk-page .search-field input[type="date"]::-webkit-datetime-edit-text,
body.pk-page .search-field input[type="date"]::-webkit-datetime-edit-month-field,
body.pk-page .search-field input[type="date"]::-webkit-datetime-edit-day-field,
body.pk-page .search-field input[type="date"]::-webkit-datetime-edit-year-field {
    color: #1e1b4b;
    padding: 0;
}
body.pk-page .search-field input[type="date"]:invalid::-webkit-datetime-edit {
    color: #c4b5fd;
}
body.pk-page .search-field input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0.85;
    cursor: pointer;
}
body.pk-page .result-count { font-size: 0.78rem; color: #9ca3af; margin-bottom: 0.75rem; }
body.pk-page .result-count span { color: #7c3aed; font-weight: 700; }
body.pk-page .refresh-pill {
	display: inline-flex; align-items: center; gap: 0.45rem; margin-left: auto;
	background: #ffffff; border: 1px solid rgba(109,40,217,0.14);
	border-radius: 100px; padding: 0.5rem 1rem;
	font-size: 0.78rem; font-weight: 500; color: #9ca3af;
	box-shadow: 0 1px 6px rgba(109,40,217,0.06);
}
body.pk-page .refresh-pill i { color: #8b5cf6; animation: spin 3s linear infinite; }
body.pk-page .refresh-pill #countdown { color: #7c3aed; font-weight: 700; }

/* Table Card */
body.pk-page .pk-card {
	background: #ffffff;
	border: 1px solid rgba(109,40,217,0.1);
	border-radius: 20px; overflow: clip;
	box-shadow: 0 4px 32px rgba(109,40,217,0.1), 0 1px 4px rgba(0,0,0,0.04);
	animation: popIn 0.55s ease 0.1s both;
}
body.pk-page .pk-card .table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Table */
body.pk-page .table { table-layout: auto; width: 100%; min-width: 980px; margin: 0; }
body.pk-page .table thead tr { background: linear-gradient(90deg, #f5f3ff, #ede9fe); }
body.pk-page .table thead th {
	background: transparent; color: #7c3aed;
	font-size: 0.67rem; text-transform: uppercase; letter-spacing: 0.1em;
	border: none; border-bottom: 1px solid rgba(109,40,217,0.12);
    padding: 0.75rem 0.55rem; font-weight: 800; white-space: nowrap; overflow: hidden;
}
body.pk-page .table tbody tr { border-bottom: 1px solid #f3f4f6; transition: background 0.18s, box-shadow 0.18s; }
body.pk-page .table tbody tr:last-child { border-bottom: none; }
body.pk-page .table tbody tr:hover { background: #faf5ff; }
body.pk-page .table tbody td { padding: 0.75rem 0.55rem; vertical-align: middle; font-size: 0.82rem; color: #6b7280; border: none; overflow: hidden; }

/* Selected row */
body.pk-page .table tbody tr.row-selected {
	background: linear-gradient(90deg, #ede9fe 0%, #f5f3ff 60%, #faf5ff 100%) !important;
	box-shadow: inset 0 1px 0 #ddd6fe, inset 0 -1px 0 #ddd6fe, 0 2px 12px rgba(109,40,217,0.10);
	position: relative;
}
body.pk-page .table tbody tr.row-selected td { color: #4c1d95; font-weight: 500; }
body.pk-page .table tbody tr.row-selected td:first-child {
	background: #ffffff !important;
	color: #6b7280;
	font-weight: 400;
}

/* Today row */
body.pk-page .row-today { background: #f5f3ff !important; }
body.pk-page .row-today td { color: #4c1d95; }
body.pk-page .row-today td:first-child { border-left: 3px solid #7c3aed; padding-left: calc(1.1rem - 3px); }
body.pk-page .row-today:hover { background: #ede9fe !important; }
body.pk-page .today-badge {
	display: inline-block;
	background: linear-gradient(135deg, #7c3aed, #4f46e5);
	color: #fff; font-size: 0.6rem; font-weight: 700;
	letter-spacing: 0.08em; text-transform: uppercase;
	padding: 0.15em 0.55em; border-radius: 100px; margin-left: 0.45rem;
	vertical-align: middle; box-shadow: 0 2px 8px rgba(124,58,237,0.35);
}

/* Cell types */
body.pk-page .bigo-cell { font-weight: 700; color: #5b21b6; display: inline-flex; align-items: center; gap: 0.35rem; letter-spacing: 0.01em; }
body.pk-page .bigo-cell i { color: #8b5cf6; font-size: 0.75rem; }
body.pk-page .date-cell { font-weight: 600; color: #374151; white-space: nowrap; }
body.pk-page .vs-badge {
	display: inline-flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, #7c3aed, #4f46e5);
	color: #fff; font-size: 0.65rem; font-weight: 900;
	letter-spacing: 0.14em; padding: 0.28em 0.75em; border-radius: 7px;
	box-shadow: 0 2px 10px rgba(124,58,237,0.35); text-transform: uppercase;
}
body.pk-page .time-cell {
	display: inline-flex; align-items: center; gap: 0.35rem;
	color: #1d4ed8; font-weight: 600; font-size: 0.8rem;
	font-variant-numeric: tabular-nums;
	background: #eff6ff; border: 1px solid #bfdbfe;
	padding: 0.28em 0.65em; border-radius: 7px;
}
body.pk-page .time-cell i { font-size: 0.7rem; color: #2563eb; }
body.pk-page .pk-chip { display: inline-flex; align-items: center; padding: 0.3em 0.78em; border-radius: 8px; font-size: 0.75rem; font-weight: 600; }
body.pk-page .pk-official     { background: #ede9fe; color: #5b21b6; border: 1.5px solid #7c3aed; }
body.pk-page .pk-birthday     { background: #fdf2f8; color: #be185d; border: 1.5px solid #db2777; }
body.pk-page .pk-anniversary  { background: #fffbeb; color: #b45309; border: 1.5px solid #d97706; }
body.pk-page .pk-all-star     { background: #eff6ff; color: #1d4ed8; border: 1.5px solid #2563eb; }
body.pk-page .pk-task-blitz   { background: #ecfdf5; color: #047857; border: 1.5px solid #059669; }
body.pk-page .pk-battle-blaze { background: #fff7ed; color: #c2410c; border: 1.5px solid #ea580c; }
body.pk-page .pk-avatar-yes   { background: #ecfdf5; color: #047857; border: 1.5px solid #10b981; }
body.pk-page .pk-avatar-no    { background: #f3f4f6; color: #6b7280; border: 1.5px solid #9ca3af; }
body.pk-page .pk-default      { background: #f9fafb; color: #6b7280; border: 1.5px solid #9ca3af; }
body.pk-page .agency-cell { font-size: 0.8rem; font-weight: 600; color: #9ca3af; }

/* Column widths */
body.pk-page .col-date            { min-width: 200px; white-space: nowrap; }
body.pk-page .col-time            { min-width: 180px; white-space: nowrap; }
body.pk-page .col-bigo_id         { min-width: 200px; }
body.pk-page .col-livehouse_event { min-width: 240px; }
body.pk-page .col-pk_type         { min-width: 140px; }
body.pk-page .col-agency          { min-width: 100px; }
body.pk-page .col-contact         { min-width: 100px; }
body.pk-page .col-vs              { min-width: 56px; text-align: center; }
body.pk-page .col-opponent_agency { min-width: 110px; }
body.pk-page .col-opponent_bigo_id { min-width: 110px; }
body.pk-page .col-avatar          { min-width: 90px; text-align: center; }
body.pk-page .col-status          { min-width: 110px; white-space: nowrap; text-align: center; }
body.pk-page .col-action          { min-width: 148px; white-space: nowrap; }

/* PK Schedules tab: dedicated equal-width table design */
body.pk-page.pk-schedules-page #pkTable {
    table-layout: auto;
    width: 100%;
    min-width: 1650px;
}
body.pk-page.pk-schedules-page #pkTable thead th,
body.pk-page.pk-schedules-page #pkTable tbody td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
body.pk-page.pk-schedules-page #pkTable thead th.col-action,
body.pk-page.pk-schedules-page #pkTable tbody td:nth-child(1) { width: 172px; min-width: 172px; }
body.pk-page.pk-schedules-page #pkTable thead th.col-date,
body.pk-page.pk-schedules-page #pkTable tbody td:nth-child(2) { width: 118px; min-width: 118px; }
body.pk-page.pk-schedules-page #pkTable thead th.col-time,
body.pk-page.pk-schedules-page #pkTable tbody td:nth-child(3) { width: 98px; min-width: 98px; }
body.pk-page.pk-schedules-page #pkTable thead th.col-bigo_id,
body.pk-page.pk-schedules-page #pkTable tbody td:nth-child(4) { width: 138px; min-width: 138px; }
body.pk-page.pk-schedules-page #pkTable thead th.col-pk_type,
body.pk-page.pk-schedules-page #pkTable tbody td:nth-child(5) { width: 240px; min-width: 240px; }
body.pk-page.pk-schedules-page #pkTable thead th.col-pk_type,
body.pk-page.pk-schedules-page #pkTable tbody td:nth-child(5) { padding-left: calc(0.55rem + 10px); }
body.pk-page.pk-schedules-page #pkTable thead th.col-agency,
body.pk-page.pk-schedules-page #pkTable tbody td:nth-child(6) { width: 150px; min-width: 150px; }
body.pk-page.pk-schedules-page #pkTable thead th.col-contact,
body.pk-page.pk-schedules-page #pkTable tbody td:nth-child(7) { width: 200px; min-width: 200px; }
body.pk-page.pk-schedules-page #pkTable thead th.col-vs,
body.pk-page.pk-schedules-page #pkTable tbody td:nth-child(8) { width: 70px; min-width: 70px; }
body.pk-page.pk-schedules-page #pkTable thead th.col-opponent_agency,
body.pk-page.pk-schedules-page #pkTable tbody td:nth-child(9) { width: 150px; min-width: 150px; }
body.pk-page.pk-schedules-page #pkTable thead th.col-opponent_bigo_id,
body.pk-page.pk-schedules-page #pkTable tbody td:nth-child(10) { width: 138px; min-width: 138px; }
body.pk-page.pk-schedules-page #pkTable thead th.col-status,
body.pk-page.pk-schedules-page #pkTable tbody td:nth-child(11) { width: 145px; min-width: 145px; }
body.pk-page.pk-schedules-page #pkTable thead th.col-avatar,
body.pk-page.pk-schedules-page #pkTable tbody td:nth-child(12) { width: 96px; min-width: 96px; }

body.pk-page.pk-schedules-page #pkTable thead th.col-time,
body.pk-page.pk-schedules-page #pkTable tbody td:nth-child(3) {
    overflow: visible;
    text-overflow: clip;
}
body.pk-page.pk-schedules-page #pkTable thead th {
    text-align: left;
}
body.pk-page.pk-schedules-page #pkTable tbody td {
    color: #4b5563;
}
body.pk-page.pk-schedules-page #pkTable thead th.col-vs,
body.pk-page.pk-schedules-page #pkTable thead th.col-status,
body.pk-page.pk-schedules-page #pkTable thead th.col-avatar,
body.pk-page.pk-schedules-page #pkTable thead th.col-action,
body.pk-page.pk-schedules-page #pkTable tbody td:nth-child(1),
body.pk-page.pk-schedules-page #pkTable tbody td:nth-child(8),
body.pk-page.pk-schedules-page #pkTable tbody td:nth-child(11),
body.pk-page.pk-schedules-page #pkTable tbody td:nth-child(12) {
    text-align: center;
}
body.pk-page.pk-schedules-page #pkTable thead th.col-action {
    letter-spacing: 0.07em;
    white-space: nowrap;
}
body.pk-page.pk-schedules-page #pkTable tbody td:nth-child(1) {
    overflow: visible;
    white-space: nowrap;
}
body.pk-page.pk-schedules-page #pkTable tbody td:nth-child(1) .d-flex {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0.3rem !important;
}
body.pk-page.pk-schedules-page #pkTable tbody td:nth-child(1) .btn-edit,
body.pk-page.pk-schedules-page #pkTable tbody td:nth-child(1) .btn-del {
    padding: 0.24rem 0.5rem;
    font-size: 0.66rem;
    white-space: nowrap;
}

/* Freeze first columns while horizontally scrolling */
@media (min-width: 992px) {
    body.pk-page.pk-schedules-page #pkTable {
        border-collapse: separate;
        border-spacing: 0;
    }

    body.pk-page.pk-schedules-page #pkTable thead th:nth-child(1),
    body.pk-page.pk-schedules-page #pkTable tbody td:nth-child(1),
    body.pk-page.pk-schedules-page #pkTable thead th:nth-child(2),
    body.pk-page.pk-schedules-page #pkTable tbody td:nth-child(2),
    body.pk-page.pk-schedules-page #pkTable thead th:nth-child(3),
    body.pk-page.pk-schedules-page #pkTable tbody td:nth-child(3),
    body.pk-page.pk-schedules-page #pkTable thead th:nth-child(4),
    body.pk-page.pk-schedules-page #pkTable tbody td:nth-child(4) {
        position: sticky;
        background-clip: padding-box;
    }

    body.pk-page.pk-schedules-page #pkTable thead th:nth-child(1),
    body.pk-page.pk-schedules-page #pkTable tbody td:nth-child(1) {
        left: 0;
    }

    body.pk-page.pk-schedules-page #pkTable thead th:nth-child(2),
    body.pk-page.pk-schedules-page #pkTable tbody td:nth-child(2) {
        left: 171px;
    }

    body.pk-page.pk-schedules-page #pkTable thead th:nth-child(3),
    body.pk-page.pk-schedules-page #pkTable tbody td:nth-child(3) {
        left: 289px;
    }

    body.pk-page.pk-schedules-page #pkTable thead th:nth-child(4),
    body.pk-page.pk-schedules-page #pkTable tbody td:nth-child(4) {
        left: 387px;
    }

    body.pk-page.pk-schedules-page #pkTable thead th:nth-child(1),
    body.pk-page.pk-schedules-page #pkTable thead th:nth-child(2),
    body.pk-page.pk-schedules-page #pkTable thead th:nth-child(3),
    body.pk-page.pk-schedules-page #pkTable thead th:nth-child(4) {
        z-index: 50;
        background: #ede9fe;
        background-image: none;
        border-right: none;
        box-shadow: none;
    }

    body.pk-page.pk-schedules-page #pkTable tbody td:nth-child(1),
    body.pk-page.pk-schedules-page #pkTable tbody td:nth-child(2),
    body.pk-page.pk-schedules-page #pkTable tbody td:nth-child(3),
    body.pk-page.pk-schedules-page #pkTable tbody td:nth-child(4) {
        z-index: 40;
        background-color: #ffffff;
        border-right: none;
        box-shadow: none;
        background-image: none;
    }

    body.pk-page.pk-schedules-page #pkTable thead th:nth-child(4),
    body.pk-page.pk-schedules-page #pkTable tbody td:nth-child(4) {
        overflow: visible;
    }

    body.pk-page.pk-schedules-page #pkTable thead th:nth-child(4)::after,
    body.pk-page.pk-schedules-page #pkTable tbody td:nth-child(4)::after {
        content: '';
        position: absolute;
        top: 0;
        right: -10px;
        width: 10px;
        height: 100%;
        pointer-events: none;
    }

    body.pk-page.pk-schedules-page #pkTable thead th:nth-child(4)::after {
        background: #ede9fe;
    }

    body.pk-page.pk-schedules-page #pkTable tbody td:nth-child(4)::after {
        background: #ffffff;
    }

    body.pk-page.pk-schedules-page #pkTable tbody tr:hover td:nth-child(1),
    body.pk-page.pk-schedules-page #pkTable tbody tr:hover td:nth-child(2),
    body.pk-page.pk-schedules-page #pkTable tbody tr:hover td:nth-child(3),
    body.pk-page.pk-schedules-page #pkTable tbody tr:hover td:nth-child(4) {
        background: #faf5ff;
    }

    body.pk-page.pk-schedules-page #pkTable tbody tr:hover td:nth-child(4)::after {
        background: #faf5ff;
    }

    body.pk-page.pk-schedules-page #pkTable tbody tr.row-selected td:nth-child(1),
    body.pk-page.pk-schedules-page #pkTable tbody tr.row-selected td:nth-child(2),
    body.pk-page.pk-schedules-page #pkTable tbody tr.row-selected td:nth-child(3),
    body.pk-page.pk-schedules-page #pkTable tbody tr.row-selected td:nth-child(4) {
        background: linear-gradient(90deg, #ede9fe 0%, #f5f3ff 60%, #faf5ff 100%) !important;
    }

    body.pk-page.pk-schedules-page #pkTable tbody tr.row-selected td:nth-child(4)::after {
        background: #faf5ff;
    }

    body.pk-page.pk-schedules-page #pkTable tbody tr.row-today td:nth-child(1),
    body.pk-page.pk-schedules-page #pkTable tbody tr.row-today td:nth-child(2),
    body.pk-page.pk-schedules-page #pkTable tbody tr.row-today td:nth-child(3),
    body.pk-page.pk-schedules-page #pkTable tbody tr.row-today td:nth-child(4) {
        background: #f5f3ff !important;
    }

    body.pk-page.pk-schedules-page #pkTable tbody tr.row-today td:nth-child(4)::after {
        background: #f5f3ff;
    }

}

@media (max-width: 1400px) {
    body.pk-page.pk-schedules-page #pkTable {
        min-width: 1500px;
    }
    body.pk-page.pk-schedules-page #pkTable thead th.col-pk_type,
    body.pk-page.pk-schedules-page #pkTable tbody td:nth-child(5) {
        width: 220px;
        min-width: 220px;
    }
    body.pk-page.pk-schedules-page #pkTable thead th.col-contact,
    body.pk-page.pk-schedules-page #pkTable tbody td:nth-child(7) {
        width: 180px;
        min-width: 180px;
    }
}

@media (max-width: 1200px) {
    body.pk-page.pk-schedules-page #pkTable {
        min-width: 1320px;
    }
    body.pk-page.pk-schedules-page #pkTable thead th,
    body.pk-page.pk-schedules-page #pkTable tbody td {
        font-size: 0.75rem;
    }
    body.pk-page.pk-schedules-page #pkTable thead th.col-agency,
    body.pk-page.pk-schedules-page #pkTable tbody td:nth-child(6),
    body.pk-page.pk-schedules-page #pkTable thead th.col-opponent_agency,
    body.pk-page.pk-schedules-page #pkTable tbody td:nth-child(9) {
        width: 130px;
        min-width: 130px;
    }
}

@media (max-width: 992px) {
    body.pk-page.pk-schedules-page #pkTable {
        min-width: 1160px;
    }
    body.pk-page.pk-schedules-page #pkTable thead th.col-action,
    body.pk-page.pk-schedules-page #pkTable tbody td:nth-child(1) {
        width: 152px;
        min-width: 152px;
    }
    body.pk-page.pk-schedules-page #pkTable tbody td:nth-child(1) .btn-edit,
    body.pk-page.pk-schedules-page #pkTable tbody td:nth-child(1) .btn-del {
        font-size: 0.63rem;
        padding: 0.22rem 0.42rem;
    }
}

@media (max-width: 768px) {
    body.pk-page.pk-schedules-page #pkTable {
        min-width: 1020px;
    }
}

/* PK View Page: shift columns 2-11 left by 20px (desktop only) */
body.pk-page.viewpk-page #pkTable thead th:nth-child(n+2),
body.pk-page.viewpk-page #pkTable tbody td:nth-child(n+2) {
    transform: translateX(-20px);
}

/* Large screen column width adjustments */
body.pk-page.viewpk-page #pkTable {
    min-width: 1400px;
}
body.pk-page.viewpk-page .col-date            { min-width: 105px; }
body.pk-page.viewpk-page .col-time            { min-width: 90px; }
body.pk-page.viewpk-page .col-bigo_id         { min-width: 125px; }
body.pk-page.viewpk-page .col-pk_type         { min-width: 200px; }
body.pk-page.viewpk-page .col-agency          { min-width: 150px; }
body.pk-page.viewpk-page .col-contact         { min-width: 190px; }
body.pk-page.viewpk-page .col-vs              { min-width: 55px; text-align: center; }
body.pk-page.viewpk-page .col-opponent_agency { min-width: 150px; }
body.pk-page.viewpk-page .col-opponent_bigo_id { min-width: 130px; }
body.pk-page.viewpk-page .col-avatar          { min-width: 80px; text-align: center; }
body.pk-page.viewpk-page .col-status          { min-width: 120px; text-align: center; }

@media (min-width: 1201px) {
    body.pk-page.viewpk-page #pkTable tbody td:nth-child(10),
    body.pk-page.viewpk-page #pkTable tbody td:nth-child(11) {
        text-align: center;
        white-space: nowrap;
    }
}

/* Responsive Design for viewpk page */
@media (max-width: 1400px) {
    body.pk-page.viewpk-page #pkTable thead th:nth-child(n+2),
    body.pk-page.viewpk-page #pkTable tbody td:nth-child(n+2) {
        transform: translateX(-15px);
    }
}

@media (max-width: 1200px) {
    body.pk-page.viewpk-page #pkTable thead th:nth-child(n+2),
    body.pk-page.viewpk-page #pkTable tbody td:nth-child(n+2) {
        transform: translateX(-10px);
    }
    body.pk-page.viewpk-page #pkTable {
        min-width: 1100px;
    }
    body.pk-page.viewpk-page .col-date            { min-width: 120px; }
    body.pk-page.viewpk-page .col-time            { min-width: 100px; }
    body.pk-page.viewpk-page .col-bigo_id         { min-width: 120px; }
    body.pk-page.viewpk-page .col-pk_type         { min-width: 120px; }
    body.pk-page.viewpk-page .col-agency          { min-width: 100px; }
    body.pk-page.viewpk-page .col-contact         { min-width: 100px; }
    body.pk-page.viewpk-page .col-opponent_agency { min-width: 100px; }
    body.pk-page.viewpk-page .col-opponent_bigo_id { min-width: 100px; }
    body.pk-page.viewpk-page .col-avatar          { min-width: 80px; }
    body.pk-page.viewpk-page .col-status          { min-width: 100px; }
}

@media (max-width: 992px) {
    body.pk-page.viewpk-page #pkTable thead th:nth-child(n+2),
    body.pk-page.viewpk-page #pkTable tbody td:nth-child(n+2) {
        transform: translateX(0);
    }
    body.pk-page.viewpk-page #pkTable {
        min-width: 950px;
    }
    body.pk-page.viewpk-page .col-date            { min-width: 100px; }
    body.pk-page.viewpk-page .col-time            { min-width: 90px; }
    body.pk-page.viewpk-page .col-bigo_id         { min-width: 100px; }
    body.pk-page.viewpk-page .col-pk_type         { min-width: 100px; }
    body.pk-page.viewpk-page .col-agency          { min-width: 85px; }
    body.pk-page.viewpk-page .col-contact         { min-width: 80px; }
    body.pk-page.viewpk-page .col-vs              { min-width: 40px; }
    body.pk-page.viewpk-page .col-opponent_agency { min-width: 85px; }
    body.pk-page.viewpk-page .col-opponent_bigo_id { min-width: 85px; }
    body.pk-page.viewpk-page .col-avatar          { min-width: 70px; }
    body.pk-page.viewpk-page .col-status          { min-width: 85px; }
}

@media (max-width: 768px) {
    body.pk-page.viewpk-page #pkTable {
        min-width: 800px;
        table-layout: auto;
    }
    body.pk-page.viewpk-page .col-date            { min-width: 90px; }
    body.pk-page.viewpk-page .col-time            { min-width: 80px; }
    body.pk-page.viewpk-page .col-bigo_id         { min-width: 90px; }
    body.pk-page.viewpk-page .col-pk_type         { min-width: 90px; }
    body.pk-page.viewpk-page .col-agency          { min-width: 75px; }
    body.pk-page.viewpk-page .col-contact         { min-width: 70px; }
    body.pk-page.viewpk-page .col-vs              { min-width: 35px; }
    body.pk-page.viewpk-page .col-opponent_agency { min-width: 75px; }
    body.pk-page.viewpk-page .col-opponent_bigo_id { min-width: 75px; }
    body.pk-page.viewpk-page .col-avatar          { min-width: 60px; }
    body.pk-page.viewpk-page .col-status          { min-width: 75px; }
    body.pk-page.viewpk-page .table thead th {
        padding: 0.6rem 0.5rem;
        font-size: 0.65rem;
    }
    body.pk-page.viewpk-page .table tbody td {
        padding: 0.6rem 0.5rem;
        font-size: 0.77rem;
    }
}

@media (max-width: 640px) {
    body.pk-page.viewpk-page #pkTable {
        min-width: auto !important;
        width: 100%;
        table-layout: block;
    }
    body.pk-page.viewpk-page .table thead {
        display: none;
    }
    body.pk-page.viewpk-page .table tbody {
        display: block;
    }
    body.pk-page.viewpk-page .table tbody tr {
        display: block;
        border: 1px solid #e9d5ff;
        border-radius: 12px;
        margin: 0 0 0.75rem;
        padding: 0.75rem;
        background: #ffffff;
        box-shadow: 0 2px 12px rgba(109,40,217,0.08);
    }
    body.pk-page.viewpk-page .table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 0.8rem;
        width: 100%;
        min-width: 0;
        padding: 0.45rem 0;
        border-bottom: 1px solid #f3e8ff;
        overflow: visible;
        font-size: 0.8rem;
    }
    body.pk-page.viewpk-page .table tbody td:last-child {
        border-bottom: none;
    }
    body.pk-page.viewpk-page .table tbody td::before {
        content: attr(data-label);
        font-size: 0.6rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        color: #7c3aed;
        flex-shrink: 0;
        min-width: 40%;
        max-width: 40%;
    }
    body.pk-page.viewpk-page .table tbody td > * {
        max-width: 60%;
        min-width: 0;
        margin-left: auto;
        text-align: right;
        overflow-wrap: anywhere;
        word-break: break-word;
    }
    body.pk-page.viewpk-page .table tbody td .badge-status,
    body.pk-page.viewpk-page .table tbody td .pk-chip,
    body.pk-page.viewpk-page .table tbody td .vs-badge,
    body.pk-page.viewpk-page .table tbody td .time-cell {
        justify-content: flex-end;
    }
    /* Remove column width constraints on small screens */
    body.pk-page.viewpk-page .col-date,
    body.pk-page.viewpk-page .col-time,
    body.pk-page.viewpk-page .col-bigo_id,
    body.pk-page.viewpk-page .col-pk_type,
    body.pk-page.viewpk-page .col-agency,
    body.pk-page.viewpk-page .col-contact,
    body.pk-page.viewpk-page .col-vs,
    body.pk-page.viewpk-page .col-opponent_agency,
    body.pk-page.viewpk-page .col-opponent_bigo_id,
    body.pk-page.viewpk-page .col-avatar,
    body.pk-page.viewpk-page .col-status {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    body.pk-page.viewpk-page .table tbody tr {
        padding: 0.6rem;
    }
    body.pk-page.viewpk-page .table tbody td {
        padding: 0.35rem 0;
        font-size: 0.75rem;
    }
    body.pk-page.viewpk-page .table tbody td::before {
        min-width: 38%;
        max-width: 38%;
        font-size: 0.55rem;
    }
    body.pk-page.viewpk-page .table tbody td > * {
        max-width: 62%;
    }
    body.pk-page.viewpk-page .pk-chip {
        font-size: 0.65rem;
        padding: 0.2em 0.45em;
    }
    body.pk-page.viewpk-page .badge-status {
        font-size: 0.65rem;
        padding: 0.24em 0.5em;
    }
    body.pk-page.viewpk-page .time-cell {
        font-size: 0.7rem;
    }
}


/* Status badges */
body.pk-page .badge-status {
	display: inline-flex; align-items: center; gap: 0.4rem;
	padding: 0.32em 0.8em; border-radius: 100px; font-size: 0.74rem; font-weight: 600;
}
body.pk-page .badge-status::before { content: ''; width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; }
body.pk-page .badge-encoded  { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
body.pk-page .badge-encoded::before  { background: #10b981; }
body.pk-page .badge-manual   { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }
body.pk-page .badge-manual::before   { background: #3b82f6; }
body.pk-page .badge-confirmed { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
body.pk-page .badge-confirmed::before { background: #10b981; }
body.pk-page .badge-pending  { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
body.pk-page .badge-pending::before  { background: #f59e0b; }
body.pk-page .badge-tbe      { background: #f5f3ff; color: #5b21b6; border: 1px solid #ddd6fe; }
body.pk-page .badge-tbe::before      { background: #8b5cf6; }
body.pk-page .badge-completed { background: #f0fdfa; color: #0d9488; border: 1px solid #99f6e4; }
body.pk-page .badge-completed::before { background: #14b8a6; }
body.pk-page .badge-empty    { background: #f9fafb; color: #9ca3af; border: 1px solid #e5e7eb; }
body.pk-page .badge-empty::before    { background: #d1d5db; }

/* Remove status bullet on PK manage/view tables */
body.pk-page.pk-schedules-page .badge-status::before,
body.pk-page.viewpk-page .badge-status::before {
    content: none;
}

/* New hosts table readability overrides */
body.pk-page.newhosts-page .table-hosts {
    table-layout: auto;
    min-width: 2100px;
    width: 100%;
}
body.pk-page.newhosts-page .table-hosts thead th {
    font-size: 0.75rem;
    padding: 0.9rem 0.75rem;
    letter-spacing: 0.08em;
    overflow: visible;
}
body.pk-page.newhosts-page .table-hosts tbody td {
    font-size: 0.9rem;
    padding: 0.85rem 0.75rem;
    white-space: normal;
    word-break: break-word;
}
body.pk-page.newhosts-page .table-hosts .col-mobile {
    min-width: 150px;
    width: 150px;
}
body.pk-page.newhosts-page .table-hosts .col-birthday {
    min-width: 120px;
    width: 120px;
}
body.pk-page.newhosts-page .table-hosts .col-submitted_date {
    min-width: 135px;
    width: 135px;
}
body.pk-page.newhosts-page .table-hosts .col-name {
    min-width: 125px;
    width: 125px;
}
body.pk-page.newhosts-page .table-hosts .col-host_id {
    min-width: 130px;
    width: 130px;
}
body.pk-page.newhosts-page .table-hosts td.col-mobile,
body.pk-page.newhosts-page .table-hosts td.col-birthday,
body.pk-page.newhosts-page .table-hosts td.col-submitted_date,
body.pk-page.newhosts-page .table-hosts td.col-name,
body.pk-page.newhosts-page .table-hosts td.col-host_id {
    white-space: nowrap;
    word-break: normal;
}
body.pk-page.newhosts-page .table-hosts .col-action {
    min-width: 190px;
    width: 190px;
}
body.pk-page.newhosts-page .table-hosts .btn-edit,
body.pk-page.newhosts-page .table-hosts .btn-del {
    min-width: 76px;
    justify-content: center;
    white-space: nowrap;
    line-height: 1;
    padding: 0.65rem 0.75rem;
    font-size: 0.78rem;
}

/* Action buttons (managepk2) */
body.pk-page .btn-edit {
	background: linear-gradient(135deg, #6a11cb, #2575fc);
	color: #fff; border: none; border-radius: 6px;
	font-size: 0.72rem; padding: 0.28rem 0.65rem; font-weight: 600;
	transition: opacity 0.2s, transform 0.1s; text-decoration: none;
	display: inline-flex; align-items: center; gap: 0.25rem;
}
body.pk-page .btn-edit:hover { opacity: 0.88; color: #fff; transform: translateY(-1px); }
body.pk-page .btn-del {
	background: linear-gradient(135deg, #ef4444, #b91c1c);
	color: #fff; border: none; border-radius: 6px;
	font-size: 0.72rem; padding: 0.28rem 0.65rem; font-weight: 600;
	transition: opacity 0.2s, transform 0.1s;
	display: inline-flex; align-items: center; gap: 0.25rem;
}
body.pk-page .btn-del:hover { opacity: 0.88; color: #fff; transform: translateY(-1px); }

/* Edit form card (managepk2) */
body.pk-page .edit-card {
	background: #ffffff;
	border: 1.5px solid rgba(109,40,217,0.18);
	border-radius: 20px; overflow: hidden;
	box-shadow: 0 4px 32px rgba(109,40,217,0.1);
	animation: popIn 0.45s ease both;
	margin-bottom: 1.75rem;
}
body.pk-page .edit-card-header {
	background: linear-gradient(90deg, #f59e0b, #ef4444);
	color: #fff; padding: 1rem 1.5rem;
	font-weight: 700; font-size: 0.95rem;
	display: flex; align-items: center; gap: 0.5rem;
}
body.pk-page .edit-card-body { padding: 1.5rem; }
body.pk-page .form-label {
	font-size: 0.78rem; font-weight: 600; color: #6b7280;
	text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.3rem;
}
body.pk-page .form-control,
body.pk-page .form-select {
	border-radius: 10px; border: 1.5px solid #e5e7eb;
	font-size: 0.9rem; transition: border-color 0.2s, box-shadow 0.2s;
}
body.pk-page .form-control:focus,
body.pk-page .form-select:focus {
	border-color: #8b5cf6; box-shadow: 0 0 0 3px rgba(139,92,246,0.12);
}
body.pk-page .form-control[readonly] { background: #f9fafb; color: #9ca3af; }
body.pk-page .btn-save {
	background: linear-gradient(135deg, #10b981, #059669);
	color: #fff; border: none; border-radius: 10px;
	font-weight: 600; padding: 0.55rem 1.75rem;
	transition: opacity 0.2s;
}
body.pk-page .btn-save:hover { opacity: 0.9; color: #fff; }
body.pk-page .btn-cancel {
    background: #ffffff;
    color: #111827;
    border: 1.5px solid #d1d5db;
    border-radius: 10px;
    font-weight: 600;
    padding: 0.55rem 1.25rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
body.pk-page .btn-cancel:hover {
    background: #f9fafb;
    border-color: #9ca3af;
    color: #111827;
}

/* Delete modal (managepk2) */
body.pk-page .modal-content { border-radius: 16px; border: none; overflow: hidden; }
body.pk-page .modal-header.danger-header {
	background: linear-gradient(135deg, #ef4444, #b91c1c);
	color: #fff;
}
body.pk-page .alert { border-radius: 12px; font-size: 0.9rem; }

/* Sidebar (managepk2) */
body.pk-page .sidebar {
	position: fixed;
	top: 0; left: 0;
	width: 250px;
	height: 100vh;
	background: linear-gradient(180deg, #1e1b4b 0%, #2d2471 50%, #3b1f8c 100%);
	border-right: 1px solid rgba(139,92,246,0.18);
	box-shadow: 4px 0 28px rgba(109,40,217,0.2);
	display: flex;
	flex-direction: column;
	z-index: 100;
	overflow-y: auto;
	transition: transform 0.3s ease;
}
body.pk-page .sidebar::-webkit-scrollbar { width: 3px; }
body.pk-page .sidebar::-webkit-scrollbar-thumb { background: rgba(167,139,250,0.3); border-radius: 100px; }
body.pk-page .sidebar-brand {
	display: flex; align-items: center; gap: 0.85rem;
	padding: 1.5rem 1.25rem 1.25rem;
	border-bottom: 1px solid rgba(255,255,255,0.07);
	flex-shrink: 0;
}
body.pk-page .sidebar-logo {
	width: 42px; height: 42px; border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 16px rgba(124,58,237,0.5);
	flex-shrink: 0;
}
body.pk-page .sidebar-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
body.pk-page .sidebar-title { font-size: 0.92rem; font-weight: 800; color: #fff; letter-spacing: -0.01em; line-height: 1.1; }
body.pk-page .sidebar-sub { font-size: 0.66rem; color: rgba(196,181,253,0.6); font-weight: 500; letter-spacing: 0.04em; margin-top: 0.1rem; }
body.pk-page .sidebar-nav {
	flex: 1;
	padding: 1rem 0.75rem;
	display: flex; flex-direction: column; gap: 0.1rem;
}
body.pk-page .sidebar-section {
	font-size: 0.58rem; font-weight: 700;
	color: rgba(196,181,253,0.38);
	letter-spacing: 0.15em; text-transform: uppercase;
	padding: 0.9rem 0.6rem 0.3rem;
	display: block;
}
body.pk-page .sidebar-link {
	display: flex; align-items: center; gap: 0.7rem;
	padding: 0.62rem 0.9rem;
	border-radius: 10px;
	color: rgba(196,181,253,0.72);
	font-size: 0.84rem; font-weight: 500;
	text-decoration: none;
	transition: all 0.18s;
	border: 1px solid transparent;
}
body.pk-page .sidebar-link i { font-size: 0.95rem; flex-shrink: 0; opacity: 0.8; }
body.pk-page .sidebar-link:hover {
	background: rgba(255,255,255,0.07);
	color: #fff;
	transform: translateX(3px);
}
body.pk-page .sidebar-link:hover i { opacity: 1; }
body.pk-page .sidebar-link.active {
	background: linear-gradient(135deg, rgba(124,58,237,0.4), rgba(79,70,229,0.3));
	color: #fff;
	border-color: rgba(167,139,250,0.22);
	box-shadow: 0 2px 14px rgba(124,58,237,0.22);
}
body.pk-page .sidebar-link.active i { color: #c4b5fd; opacity: 1; }
body.pk-page .sidebar-footer {
	padding: 1rem 1.25rem 1.25rem;
	border-top: 1px solid rgba(255,255,255,0.07);
	flex-shrink: 0;
}
body.pk-page .sidebar-social { display: flex; gap: 0.45rem; margin-bottom: 0.65rem; }
body.pk-page .sidebar-social a {
	width: 30px; height: 30px; border-radius: 8px;
	display: flex; align-items: center; justify-content: center;
	background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
	color: rgba(196,181,253,0.65); font-size: 0.8rem;
	text-decoration: none; transition: all 0.2s;
}
body.pk-page .sidebar-social a:hover { background: rgba(124,58,237,0.35); color: #fff; border-color: rgba(167,139,250,0.4); }
body.pk-page .sidebar-footer p { font-size: 0.65rem; color: rgba(196,181,253,0.35); margin: 0; line-height: 1.5; }

/* Mobile sidebar toggle */
body.pk-page .sidebar-toggle {
	display: none;
	position: fixed; top: 1rem; left: 1rem; z-index: 200;
	width: 40px; height: 40px; border-radius: 10px;
	background: rgba(255,255,255,0.9); backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(109,40,217,0.2);
	color: #7c3aed; font-size: 1.25rem;
	box-shadow: 0 2px 12px rgba(109,40,217,0.15);
	cursor: pointer; transition: all 0.2s;
	align-items: center; justify-content: center; padding: 0;
}
body.pk-page .sidebar-toggle:hover { background: #fff; box-shadow: 0 4px 20px rgba(109,40,217,0.25); }
body.pk-page .sidebar-overlay {
	display: none; position: fixed; inset: 0; z-index: 99;
	background: rgba(15,12,41,0.55); backdrop-filter: blur(3px);
}
body.pk-page .sidebar-overlay.open { display: block; }

/* Empty state */
body.pk-page .empty-state { padding: 4rem 2rem; text-align: center; }
body.pk-page .empty-state-icon {
	width: 60px; height: 60px; border-radius: 14px;
	background: #f5f3ff; border: 1px solid #ddd6fe;
	display: flex; align-items: center; justify-content: center;
	margin: 0 auto 1.25rem; font-size: 1.75rem; color: #7c3aed;
}
body.pk-page .empty-state h4 { font-size: 1rem; font-weight: 700; color: #1e1b4b; margin-bottom: 0.4rem; }
body.pk-page .empty-state p  { font-size: 0.84rem; color: #9ca3af; margin: 0; }

/* Scrollbar */
body.pk-page ::-webkit-scrollbar { width: 6px; height: 6px; }
body.pk-page ::-webkit-scrollbar-track { background: #f5f3ff; }
body.pk-page ::-webkit-scrollbar-thumb { background: rgba(109,40,217,0.25); border-radius: 100px; }
body.pk-page ::-webkit-scrollbar-thumb:hover { background: rgba(109,40,217,0.45); }
body.pk-page tr.search-hidden { display: none; }

/* Footer */
body.pk-page footer { text-align: center; padding: 2.5rem 1rem; border-top: 1px solid rgba(109,40,217,0.08); color: #9ca3af; font-size: 0.8rem; margin-top: 1rem; }
body.pk-page .social-links { display: flex; justify-content: center; gap: 0.6rem; margin-bottom: 1rem; }
body.pk-page .social-links a {
	width: 36px; height: 36px; border-radius: 10px;
	display: flex; align-items: center; justify-content: center;
	font-size: 1rem; border: 1px solid rgba(109,40,217,0.12);
	color: #9ca3af; text-decoration: none; transition: all 0.2s;
	background: #ffffff;
}
body.pk-page .social-links a:hover { background: #f5f3ff; color: #7c3aed; border-color: #c4b5fd; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(109,40,217,0.12); }
body.pk-page footer span { color: #7c3aed; font-weight: 600; }

/* Responsive */
/* Expand container by 100px at each Bootstrap breakpoint */
@media (min-width: 576px)  { body.pk-page .container { max-width: 640px; } }
@media (min-width: 768px)  { body.pk-page .container { max-width: 820px; } }
@media (min-width: 992px)  { body.pk-page .container { max-width: 1060px; } }
@media (min-width: 1200px) { body.pk-page .container { max-width: 1240px; } }
@media (min-width: 1400px) { body.pk-page .container { max-width: 1420px; } }
@media (max-width: 992px) {
	body.pk-page .hero { padding: 2.5rem 0 1.25rem; }
	body.pk-page .refresh-pill { margin-left: 0; }
}
@media (max-width: 768px) {
	body.pk-page { padding-bottom: 2rem; }
	body.pk-page .hero { padding: 2rem 0 1rem; }
	body.pk-page .hero h1 { font-size: 1.75rem; }
	body.pk-page .hero p { font-size: 0.88rem; }
	body.pk-page .hero-eyebrow { font-size: 0.68rem; }
	body.pk-page .stats-strip { gap: 0.5rem; }
	body.pk-page .stat-pill { padding: 0.4rem 0.9rem; font-size: 0.78rem; }
	body.pk-page .toolbar { flex-direction: column; align-items: stretch; gap: 0.6rem; }
    body.pk-page .search-field { width: 100%; min-width: 0; max-width: none; }
	body.pk-page .search-field input { font-size: 0.88rem; padding: 0.65rem 2.5rem; }
    body.pk-page .search-field input[type="date"] {
        appearance: none;
        -webkit-appearance: none;
        box-sizing: border-box;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        height: 44px;
    }
	body.pk-page .refresh-pill { margin-left: 0; justify-content: center; }
	body.pk-page .pk-card { border-radius: 14px; }
	body.pk-page .table thead th { padding: 0.7rem 0.75rem; font-size: 0.62rem; }
	body.pk-page .table tbody td { padding: 0.7rem 0.75rem; font-size: 0.8rem; }
	body.pk-page .time-cell { font-size: 0.75rem; }
	body.pk-page .pk-chip { font-size: 0.7rem; padding: 0.25em 0.6em; }
	body.pk-page .badge-status { font-size: 0.7rem; padding: 0.28em 0.65em; }
	body.pk-page .today-badge { font-size: 0.56rem; }
	/* managepk2 sidebar mobile */
	body.pk-page .sidebar { transform: translateX(-250px); }
	body.pk-page .sidebar.open { transform: translateX(0); }
	body.pk-page .sidebar-toggle { display: inline-flex; }
	body.pk-page .main-content { margin-left: 0; padding-top: 3.5rem; }
}
@media (max-width: 640px) {
    body.pk-page .table { min-width: 0; }
    body.pk-page .table thead { display: none; }
    body.pk-page .pk-card .table-responsive { overflow-x: visible; }
    body.pk-page.pk-schedules-page #pkTable { min-width: 1080px; }
    body.pk-page.pk-schedules-page #pkTable thead { display: table-header-group; }
    body.pk-page.pk-schedules-page .pk-schedules-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    body.pk-page .pk-card { border-radius: 14px; }
    body.pk-page .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    body.pk-page .table tbody tr {
        display: block;
        border: 1px solid #e9d5ff;
        border-radius: 14px;
        margin: 0 0 0.75rem;
        padding: 0.6rem 0.9rem;
        background: #ffffff;
        box-shadow: 0 2px 12px rgba(109,40,217,0.08);
    }
    body.pk-page.pk-schedules-page #pkTable tbody tr {
        display: table-row;
        border: none;
        border-radius: 0;
        margin: 0;
        padding: 0;
        box-shadow: none;
    }
    body.pk-page .table tbody tr.search-hidden {
        display: none !important;
    }
    body.pk-page .table tbody tr.row-selected,
    body.pk-page .table tbody tr.row-today {
        background: linear-gradient(180deg, #faf5ff, #ffffff) !important;
    }
    body.pk-page.pk-schedules-page #pkTable tbody tr.row-selected,
    body.pk-page.pk-schedules-page #pkTable tbody tr.row-today {
        background: #f5f3ff !important;
    }
    body.pk-page .table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 0.8rem;
        width: 100%;
        min-width: 0;
        padding: 0.45rem 0;
        border-bottom: 1px solid #f3e8ff;
        overflow: visible;
    }
    body.pk-page.pk-schedules-page #pkTable tbody td {
        display: table-cell;
        width: auto;
        padding: 0.7rem 0.55rem;
        border-bottom: none;
        overflow: visible;
    }
    body.pk-page .table tbody td:last-child { border-bottom: none; }
    body.pk-page .table tbody td::before {
        content: attr(data-label);
        font-size: 0.6rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        color: #7c3aed;
        flex-shrink: 0;
        min-width: 42%;
        max-width: 42%;
    }
    body.pk-page.pk-schedules-page #pkTable tbody td::before { content: none; }
    body.pk-page .table tbody td > * {
        max-width: 58%;
        min-width: 0;
        margin-left: auto;
        text-align: right;
        overflow-wrap: anywhere;
        word-break: break-word;
    }
    body.pk-page.pk-schedules-page #pkTable tbody td > * {
        max-width: 100%;
        margin-left: 0;
        text-align: left;
    }
    body.pk-page .table tbody td .badge-status,
    body.pk-page .table tbody td .pk-chip,
        justify-content: space-between;
        align-items: center;
        justify-content: flex-end;
    }
    body.pk-page.pk-schedules-page #pkTable tbody td .badge-status,
    body.pk-page.pk-schedules-page #pkTable tbody td .pk-chip,
    body.pk-page.pk-schedules-page #pkTable tbody td .vs-badge,
    body.pk-page.pk-schedules-page #pkTable tbody td .time-cell {
        justify-content: flex-start;
    }
        width: 58%;
        max-width: 58%;
        white-space: normal;
        margin-left: 0;
        text-align: left;
}
@media (max-width: 480px) {
	body.pk-page .container {
		padding-left: 0.6rem;
		padding-right: 0.6rem;
	}
    body.pk-page .edit-card-body {
        padding: 1rem;
    }
    body.pk-page .edit-card .col-12.d-flex {
        flex-wrap: wrap;
    }
    body.pk-page .edit-card .col-12.d-flex > .btn,
    body.pk-page .edit-card .col-12.d-flex > a {
        width: 100%;
        justify-content: center;
        justify-content: flex-start;
	body.pk-page .hero p { font-size: 0.83rem; }
	body.pk-page .stats-strip { flex-direction: column; align-items: center; }
	body.pk-page .stat-pill { width: 100%; max-width: 260px; justify-content: center; }
	body.pk-page .table thead th { padding: 0.6rem 0.6rem; font-size: 0.6rem; letter-spacing: 0.06em; }
    body.pk-page .table tbody td { padding: 0.6rem 0.6rem; font-size: 0.77rem; }
	body.pk-page .bigo-cell { font-size: 0.77rem; }
	body.pk-page .time-cell { font-size: 0.72rem; padding: 0.22em 0.5em; }
	body.pk-page .pk-chip { font-size: 0.67rem; padding: 0.2em 0.5em; }
	body.pk-page .vs-badge { font-size: 0.6rem; padding: 0.22em 0.6em; }
	body.pk-page .badge-status { font-size: 0.67rem; padding: 0.24em 0.55em; }
    body.pk-page .table tbody td::before {
        min-width: 40%;
        max-width: 40%;
    }
    body.pk-page .table tbody td > * {
        max-width: 60%;
    }
	body.pk-page .pk-card { border-radius: 12px; }
	body.pk-page .navbar { padding: 0.75rem 1rem; }
	body.pk-page .navbar-brand { font-size: 1rem; }
	body.pk-page footer { padding: 1.75rem 0.75rem; }
}

@media (max-width: 991.98px) {
    body.pk-page.pk-schedules-page #pkTable {
        min-width: auto !important;
        width: 100%;
        table-layout: block;
    }
    body.pk-page.pk-schedules-page #pkTable thead {
        display: none;
    }
    body.pk-page.pk-schedules-page .pk-schedules-responsive {
        overflow-x: visible;
    }
    body.pk-page.pk-schedules-page #pkTable tbody {
        display: block;
    }
    body.pk-page.pk-schedules-page #pkTable tbody tr {
        display: block;
        border: 1px solid #e9d5ff;
        border-radius: 12px;
        margin: 0 0 0.75rem;
        padding: 0.75rem;
        background: #ffffff;
        box-shadow: 0 2px 12px rgba(109,40,217,0.08);
    }
    body.pk-page.pk-schedules-page #pkTable tbody td {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 0.8rem;
        width: 100%;
        min-width: 0;
        padding: 0.45rem 0;
        border-bottom: 1px solid #f3e8ff;
        overflow: visible;
    }
    body.pk-page.pk-schedules-page #pkTable tbody td:last-child {
        border-bottom: none;
    }
    body.pk-page.pk-schedules-page #pkTable tbody td::before {
        content: attr(data-label);
        font-size: 0.6rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        color: #7c3aed;
        flex-shrink: 0;
        min-width: 42%;
        max-width: 42%;
    }
    body.pk-page.pk-schedules-page #pkTable tbody td > * {
        max-width: 58%;
        min-width: 0;
        margin-left: auto;
        text-align: right;
        overflow-wrap: anywhere;
        word-break: break-word;
    }
    body.pk-page.pk-schedules-page #pkTable tbody td .badge-status,
    body.pk-page.pk-schedules-page #pkTable tbody td .pk-chip,
    body.pk-page.pk-schedules-page #pkTable tbody td .vs-badge,
    body.pk-page.pk-schedules-page #pkTable tbody td .time-cell {
        justify-content: flex-end;
    }
    body.pk-page.pk-schedules-page #pkTable tbody td:nth-child(1) {
        text-align: left;
    }
    body.pk-page.pk-schedules-page #pkTable tbody td:nth-child(1) .d-flex {
        justify-content: flex-end;
        gap: 0.35rem !important;
        flex-wrap: wrap;
    }
    body.pk-page.pk-schedules-page #pkTable tbody td:nth-child(1) .btn-edit,
    body.pk-page.pk-schedules-page #pkTable tbody td:nth-child(1) .btn-del {
        font-size: 0.68rem;
        padding: 0.3rem 0.55rem;
    }
}

@media (max-width: 480px) {
    body.pk-page.pk-schedules-page #pkTable tbody td::before {
        min-width: 40%;
        max-width: 40%;
    }
    body.pk-page.pk-schedules-page #pkTable tbody td > * {
        width: 60%;
        max-width: 60%;
    }
}

/* ============================================================
   viewlivehouse.php — Music / Concert Dark Theme
   ============================================================ */

body.livehouse-page {
	background: #08080f;
	min-height: 100vh;
	color: #e2e0ff;
	overflow-x: hidden;
	padding-bottom: 3rem;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Animated background mesh */
body.livehouse-page .bg-mesh { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
body.livehouse-page .orb { position: absolute; border-radius: 50%; filter: blur(120px); pointer-events: none; }
body.livehouse-page .orb-1 { width: 700px; height: 700px; background: radial-gradient(circle, #7c3aed, transparent 70%); opacity: 0.22; top: -250px; left: -180px; animation: lh-drift1 14s ease-in-out infinite alternate; }
body.livehouse-page .orb-2 { width: 550px; height: 550px; background: radial-gradient(circle, #ec4899, transparent 70%); opacity: 0.15; bottom: -160px; right: -140px; animation: lh-drift2 17s ease-in-out infinite alternate; }
body.livehouse-page .orb-3 { width: 400px; height: 400px; background: radial-gradient(circle, #06b6d4, transparent 70%); opacity: 0.1; top: 42%; left: 52%; animation: lh-drift1 12s ease-in-out infinite alternate; }
body.livehouse-page .orb-4 { width: 300px; height: 300px; background: radial-gradient(circle, #f59e0b, transparent 70%); opacity: 0.09; top: 18%; right: 10%; animation: lh-drift2 10s ease-in-out infinite alternate; }

@keyframes lh-drift1 { from { transform: translate(0,0) scale(1); } to { transform: translate(38px,28px) scale(1.05); } }
@keyframes lh-drift2 { from { transform: translate(0,0) scale(1); } to { transform: translate(-32px,-22px) scale(1.05); } }

/* Grid overlay — subtle sound-wave dots */
body.livehouse-page .bg-grid {
	position: fixed; inset: 0; z-index: 0; pointer-events: none;
	background-image: radial-gradient(rgba(167,139,250,0.06) 1px, transparent 1px);
	background-size: 32px 32px;
}

body.livehouse-page .content-wrap { position: relative; z-index: 1; }

/* Animations */
@keyframes lh-shimmer { to { background-position: 200% center; } }
@keyframes lh-popIn   { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes lh-pulse   { 0%,100% { box-shadow: 0 0 0 0 rgba(236,72,153,0); } 50% { box-shadow: 0 0 18px 4px rgba(236,72,153,0.28); } }

/* Navbar */
body.livehouse-page .navbar {
	background: rgba(8,8,15,0.82);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-bottom: 1px solid rgba(167,139,250,0.12);
	padding: 0.85rem 1.5rem;
	box-shadow: 0 1px 20px rgba(0,0,0,0.4);
}
body.livehouse-page .nav-link { color: #a78bfa !important; font-weight: 500; font-size: 0.88rem; padding: 0.4rem 0.9rem !important; border-radius: 8px; transition: all 0.2s; }
body.livehouse-page .nav-link:hover { background: rgba(167,139,250,0.1); color: #e9d5ff !important; }
body.livehouse-page .navbar-toggler { border-color: rgba(167,139,250,0.3); }
body.livehouse-page .navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(167,139,250,0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }

/* Hero */
body.livehouse-page .hero { padding: 3.5rem 0 1.75rem; text-align: center; animation: lh-popIn 0.6s ease both; }
body.livehouse-page .hero-eyebrow {
	display: inline-flex; align-items: center; gap: 0.5rem;
	background: rgba(236,72,153,0.12); border: 1px solid rgba(236,72,153,0.3);
	border-radius: 100px; padding: 0.3rem 1rem;
	font-size: 0.72rem; font-weight: 700; color: #f472b6;
	letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1.25rem;
	animation: lh-pulse 3s ease infinite;
}
body.livehouse-page .hero h1 {
	font-size: clamp(1.9rem, 5vw, 3rem); font-weight: 900;
	line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 0.75rem;
	background: linear-gradient(135deg, #f472b6 0%, #a78bfa 40%, #38bdf8 80%, #f472b6 100%);
	background-size: 200%;
	-webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
	animation: lh-shimmer 5s linear infinite;
}
body.livehouse-page .hero p { color: #6b6b8a; font-size: 0.95rem; max-width: 440px; margin: 0 auto 2rem; }

/* Stats strip */
body.livehouse-page .stats-strip { display: flex; justify-content: center; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
body.livehouse-page .stat-pill {
	display: inline-flex; align-items: center; gap: 0.5rem;
	background: rgba(255,255,255,0.04); border: 1px solid rgba(167,139,250,0.18);
	border-radius: 100px; padding: 0.5rem 1.2rem;
	font-size: 0.82rem; font-weight: 600; color: #a78bfa;
	box-shadow: 0 2px 12px rgba(0,0,0,0.3); transition: all 0.2s;
}
body.livehouse-page .stat-pill:hover { border-color: rgba(236,72,153,0.4); box-shadow: 0 4px 20px rgba(236,72,153,0.15); transform: translateY(-1px); }
body.livehouse-page .stat-pill .stat-num { color: #f472b6; font-weight: 800; font-size: 1rem; }
body.livehouse-page .stat-pill i { color: #a78bfa; font-size: 0.85rem; }

/* Toolbar */
body.livehouse-page .toolbar { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-bottom: 0.75rem; }
body.livehouse-page .search-field { position: relative; flex: 1; min-width: 220px; max-width: 300px; }
body.livehouse-page .search-field .field-icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: #a78bfa; font-size: 0.9rem; pointer-events: none; z-index: 2; }
body.livehouse-page .search-field .field-clear { position: absolute; right: 0.9rem; top: 50%; transform: translateY(-50%); background: none; border: none; color: #6b6b8a; cursor: pointer; display: none; z-index: 2; padding: 0; font-size: 0.9rem; transition: color 0.2s; }
body.livehouse-page .search-field .field-clear:hover { color: #f472b6; }
body.livehouse-page .search-field input {
	width: 100%;
	background: rgba(255,255,255,0.05);
	border: 1.5px solid rgba(167,139,250,0.2); border-radius: 12px;
	color: #e2e0ff; font-size: 0.9rem; font-weight: 500;
	padding: 0.7rem 2.8rem 0.7rem 2.8rem;
	outline: none; box-shadow: 0 1px 8px rgba(0,0,0,0.3); transition: all 0.25s; font-family: inherit;
}
body.livehouse-page .search-field input::placeholder { color: #4a4a6a; }
body.livehouse-page .search-field input:focus { border-color: #a78bfa; box-shadow: 0 0 0 3px rgba(167,139,250,0.15), 0 1px 8px rgba(0,0,0,0.3); }
body.livehouse-page .search-field input[type="date"] { color-scheme: dark; }
body.livehouse-page .result-count { font-size: 0.78rem; color: #6b6b8a; margin-bottom: 0.75rem; }
body.livehouse-page .result-count span { color: #f472b6; font-weight: 700; }
body.livehouse-page .refresh-pill {
	display: inline-flex; align-items: center; gap: 0.45rem; margin-left: auto;
	background: rgba(255,255,255,0.04); border: 1px solid rgba(167,139,250,0.18);
	border-radius: 100px; padding: 0.5rem 1rem;
	font-size: 0.78rem; font-weight: 500; color: #6b6b8a;
	box-shadow: 0 1px 8px rgba(0,0,0,0.3);
}
body.livehouse-page .refresh-pill i { color: #a78bfa; animation: spin 3s linear infinite; }
body.livehouse-page .refresh-pill #countdown { color: #f472b6; font-weight: 700; }

/* Table Card */
body.livehouse-page .pk-card {
	background: rgba(255,255,255,0.03);
	border: 1px solid rgba(167,139,250,0.14);
	border-radius: 20px; overflow: clip;
	box-shadow: 0 4px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(167,139,250,0.06);
	animation: lh-popIn 0.55s ease 0.1s both;
}
body.livehouse-page .pk-card .table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Table */
body.livehouse-page .table { table-layout: auto; width: 100%; min-width: 660px; margin: 0; }
body.livehouse-page .table thead tr { background: linear-gradient(90deg, rgba(167,139,250,0.08), rgba(236,72,153,0.06)); }
body.livehouse-page .table thead th {
	background: transparent; color: #a78bfa;
	font-size: 0.67rem; text-transform: uppercase; letter-spacing: 0.1em;
	border: none; border-bottom: 1px solid rgba(167,139,250,0.12);
	padding: 0.75rem 0.75rem; font-weight: 800; white-space: nowrap; overflow: hidden;
}
body.livehouse-page .table tbody tr { border-bottom: 1px solid rgba(255,255,255,0.04); transition: background 0.18s; }
body.livehouse-page .table tbody tr:last-child { border-bottom: none; }
body.livehouse-page .table tbody tr:hover { background: rgba(167,139,250,0.06); }
body.livehouse-page .table tbody td { padding: 0.85rem 0.75rem; vertical-align: middle; font-size: 0.84rem; color: #9d9dbf; border: none; overflow: hidden; }

/* Today row */
body.livehouse-page .row-today { background: rgba(236,72,153,0.06) !important; }
body.livehouse-page .row-today td { color: #f9a8d4; }
body.livehouse-page .row-today td:first-child { border-left: 3px solid #ec4899; padding-left: calc(0.75rem - 3px); }
body.livehouse-page .row-today:hover { background: rgba(236,72,153,0.1) !important; }
body.livehouse-page .today-badge {
	display: inline-block;
	background: linear-gradient(135deg, #ec4899, #a855f7);
	color: #fff; font-size: 0.6rem; font-weight: 700;
	letter-spacing: 0.08em; text-transform: uppercase;
	padding: 0.15em 0.55em; border-radius: 100px; margin-left: 0.45rem;
	vertical-align: middle; box-shadow: 0 2px 10px rgba(236,72,153,0.45);
}

/* Cell types */
body.livehouse-page .bigo-cell { font-weight: 700; color: #c4b5fd; display: inline-flex; align-items: center; gap: 0.35rem; letter-spacing: 0.01em; }
body.livehouse-page .date-cell { font-weight: 600; color: #e2e0ff; white-space: nowrap; }
body.livehouse-page .time-cell {
	display: inline-flex; align-items: center; gap: 0.35rem;
	color: #38bdf8; font-weight: 600; font-size: 0.8rem;
	font-variant-numeric: tabular-nums;
	background: rgba(56,189,248,0.1); border: 1px solid rgba(56,189,248,0.25);
	padding: 0.28em 0.65em; border-radius: 7px;
}
body.livehouse-page .time-cell i { font-size: 0.7rem; color: #38bdf8; }

/* Livehouse event chips */
body.livehouse-page .lh-chip { display: inline-flex; align-items: center; gap: 0.3em; padding: 0.3em 0.78em; border-radius: 8px; font-size: 0.75rem; font-weight: 600; }
body.livehouse-page .lh-concert   { background: rgba(236,72,153,0.15); color: #f472b6; border: 1.5px solid rgba(236,72,153,0.35); }
body.livehouse-page .lh-special   { background: rgba(245,158,11,0.12); color: #fbbf24; border: 1.5px solid rgba(245,158,11,0.3); }
body.livehouse-page .lh-birthday  { background: rgba(167,139,250,0.15); color: #c4b5fd; border: 1.5px solid rgba(167,139,250,0.3); }
body.livehouse-page .lh-collab    { background: rgba(56,189,248,0.1);   color: #38bdf8; border: 1.5px solid rgba(56,189,248,0.25); }
body.livehouse-page .lh-default   { background: rgba(255,255,255,0.05); color: #9d9dbf; border: 1.5px solid rgba(255,255,255,0.1); }

/* Column widths */
body.livehouse-page .col-action          { min-width: 140px; white-space: nowrap; }
body.livehouse-page .col-date            { min-width: 100px; white-space: nowrap; }
body.livehouse-page .col-time            { min-width: 80px;  white-space: nowrap; }
body.livehouse-page .col-bigo_id         { min-width: 100px; }
body.livehouse-page .col-livehouse_event { min-width: 140px; width: 99%; }
body.livehouse-page .col-status          { min-width: 110px; white-space: nowrap; }

/* Status badges */
body.livehouse-page .badge-status {
	display: inline-flex; align-items: center; gap: 0.4rem;
	padding: 0.32em 0.8em; border-radius: 100px; font-size: 0.74rem; font-weight: 600;
}
body.livehouse-page .badge-status::before { content: ''; width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; }
body.livehouse-page .badge-confirmed { background: rgba(16,185,129,0.12); color: #34d399; border: 1px solid rgba(52,211,153,0.3); }
body.livehouse-page .badge-confirmed::before { background: #10b981; }
body.livehouse-page .badge-pending   { background: rgba(245,158,11,0.1);  color: #fbbf24; border: 1px solid rgba(251,191,36,0.28); }
body.livehouse-page .badge-pending::before   { background: #f59e0b; }
body.livehouse-page .badge-cancelled { background: rgba(239,68,68,0.1);   color: #f87171; border: 1px solid rgba(248,113,113,0.28); }
body.livehouse-page .badge-cancelled::before { background: #ef4444; }
body.livehouse-page .badge-encoded   { background: rgba(56,189,248,0.1);  color: #38bdf8; border: 1px solid rgba(56,189,248,0.25); }
body.livehouse-page .badge-encoded::before   { background: #0ea5e9; }
body.livehouse-page .badge-empty     { background: rgba(255,255,255,0.04); color: #6b6b8a; border: 1px solid rgba(255,255,255,0.08); }
body.livehouse-page .badge-empty::before     { background: #4a4a6a; }

/* Empty state */
body.livehouse-page .empty-state { padding: 4rem 2rem; text-align: center; }
body.livehouse-page .empty-state-icon {
	width: 60px; height: 60px; border-radius: 14px;
	background: rgba(167,139,250,0.08); border: 1px solid rgba(167,139,250,0.18);
	display: flex; align-items: center; justify-content: center;
	margin: 0 auto 1.25rem; font-size: 1.75rem; color: #a78bfa;
}
body.livehouse-page .empty-state h4 { font-size: 1rem; font-weight: 700; color: #e2e0ff; margin-bottom: 0.4rem; }
body.livehouse-page .empty-state p  { font-size: 0.84rem; color: #6b6b8a; margin: 0; }

/* Scrollbar */
body.livehouse-page ::-webkit-scrollbar { width: 6px; height: 6px; }
body.livehouse-page ::-webkit-scrollbar-track { background: rgba(255,255,255,0.03); }
body.livehouse-page ::-webkit-scrollbar-thumb { background: rgba(167,139,250,0.3); border-radius: 100px; }
body.livehouse-page ::-webkit-scrollbar-thumb:hover { background: rgba(236,72,153,0.5); }
body.livehouse-page tr.search-hidden { display: none; }

/* Footer */
body.livehouse-page footer { text-align: center; padding: 2.5rem 1rem; border-top: 1px solid rgba(167,139,250,0.08); color: #6b6b8a; font-size: 0.8rem; margin-top: 1rem; }
body.livehouse-page .social-links { display: flex; justify-content: center; gap: 0.6rem; margin-bottom: 1rem; }
body.livehouse-page .social-links a {
	width: 36px; height: 36px; border-radius: 10px;
	display: flex; align-items: center; justify-content: center;
	font-size: 1rem; border: 1px solid rgba(167,139,250,0.15);
	color: #6b6b8a; text-decoration: none; transition: all 0.2s;
	background: rgba(255,255,255,0.04);
}
body.livehouse-page .social-links a:hover { background: rgba(236,72,153,0.12); color: #f472b6; border-color: rgba(236,72,153,0.35); transform: translateY(-2px); box-shadow: 0 4px 14px rgba(236,72,153,0.2); }
body.livehouse-page footer span { color: #a78bfa; font-weight: 600; }

/* Responsive */
@media (min-width: 576px)  { body.livehouse-page .container { max-width: 640px; } }
@media (min-width: 768px)  { body.livehouse-page .container { max-width: 820px; } }
@media (min-width: 992px)  { body.livehouse-page .container { max-width: 1060px; } }
@media (min-width: 1200px) { body.livehouse-page .container { max-width: 1240px; } }
@media (min-width: 1400px) { body.livehouse-page .container { max-width: 1420px; } }
@media (max-width: 992px) {
	body.livehouse-page .hero { padding: 2.5rem 0 1.25rem; }
	body.livehouse-page .refresh-pill { margin-left: 0; }
}
@media (max-width: 768px) {
	body.livehouse-page .hero { padding: 2rem 0 1rem; }
	body.livehouse-page .hero h1 { font-size: 1.75rem; }
	body.livehouse-page .toolbar { flex-direction: column; align-items: stretch; gap: 0.6rem; }
	body.livehouse-page .search-field { max-width: none; }
	body.livehouse-page .refresh-pill { margin-left: 0; justify-content: center; }
	body.livehouse-page .pk-card { border-radius: 14px; }
}
@media (max-width: 640px) {
	body.livehouse-page .table { table-layout: auto; }
	body.livehouse-page .col-action,
	body.livehouse-page .col-date,
	body.livehouse-page .col-time,
	body.livehouse-page .col-bigo_id,
	body.livehouse-page .col-livehouse_event,
	body.livehouse-page .col-status { width: auto; }
	body.livehouse-page .table thead { display: none; }
	body.livehouse-page .pk-card .table-responsive { overflow-x: visible; }
	body.livehouse-page .table tbody tr {
		display: block;
		border: 1px solid rgba(167,139,250,0.2);
		border-radius: 14px;
		margin: 0 0 0.75rem;
		padding: 0.6rem 0.9rem;
		background: rgba(255,255,255,0.025);
	}
	body.livehouse-page .table tbody tr.row-today { border-left: 3px solid #ec4899; }
	body.livehouse-page .table tbody td {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 0.45rem 0;
		border-bottom: 1px solid rgba(255,255,255,0.05);
		font-size: 0.82rem;
		overflow: visible;
	}
	body.livehouse-page .table tbody td:last-child { border-bottom: none; }
	body.livehouse-page .table tbody td::before {
		content: attr(data-label);
		font-size: 0.6rem;
		font-weight: 800;
		text-transform: uppercase;
		letter-spacing: 0.12em;
		color: #a78bfa;
		flex-shrink: 0;
		margin-right: 1rem;
	}
}
@media (max-width: 480px) {
	body.livehouse-page .hero h1 { font-size: 1.5rem; }
	body.livehouse-page footer { padding: 1.75rem 0.75rem; }
}

/* ============================================================
   Pagination Styles - Modern & Aesthetic Design
   ============================================================ */

/* Pagination container */
nav[aria-label*="pagination"] {
	display: flex;
	justify-content: center;
	padding: 1.25rem 0;
	margin: 1.5rem 0;
}

/* Pagination list */
.pagination {
	display: flex;
	gap: 0.5rem;
	list-style: none;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	padding: 0;
	margin: 0;
}

/* Pagination items */
.page-item {
	display: flex;
	align-items: center;
}

/* Pagination links */
.page-link {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding: 0.25rem;
	margin: 0;
	color: #6b7280;
	background: #f9fafb;
	border: 1.5px solid #e5e7eb;
	border-radius: 8px;
	font-size: 0.9rem;
	font-weight: 500;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
	user-select: none;
}

/* Pagination links hover state */
.page-link:hover:not(.disabled) {
	color: #5a67d8;
	background: #eef2ff;
	border-color: #a5b4fc;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
}

/* Active pagination item */
.page-item.active .page-link {
	color: #ffffff;
	background: linear-gradient(135deg, #6366f1 0%, #5a67d8 100%);
	border-color: #5a67d8;
	box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
	font-weight: 600;
}

/* Disabled pagination items */
.page-item.disabled .page-link {
	color: #d1d5db;
	background: #f3f4f6;
	border-color: #e5e7eb;
	cursor: not-allowed;
	opacity: 0.6;
}

.page-item.disabled .page-link:hover {
	background: #f3f4f6;
	border-color: #e5e7eb;
	transform: none;
	box-shadow: none;
}

/* Arrow and special character styling */
.page-link i {
	font-size: 1rem;
	display: inline-flex;
	align-items: center;
}

/* Ellipsis styling */
.page-item.disabled .page-link {
	font-weight: 500;
	letter-spacing: 0.05em;
	padding: 0 0.35rem;
}

/* Responsive pagination */
@media (max-width: 768px) {
	.pagination {
		gap: 0.35rem;
	}

	.page-link {
		min-width: 2.25rem;
		height: 2.25rem;
		font-size: 0.85rem;
		border-radius: 6px;
	}

	.page-item.disabled .page-link {
		padding: 0 0.25rem;
	}
}

@media (max-width: 480px) {
	.pagination {
		gap: 0.25rem;
	}

	.page-link {
		min-width: 2rem;
		height: 2rem;
		font-size: 0.8rem;
		border: 1px solid #e5e7eb;
		border-radius: 6px;
		padding: 0;
	}

	.page-link i {
		font-size: 0.9rem;
	}

	/* Hide page numbers on very small screens, show only arrows */
	.page-item:not(.disabled):nth-child(n+2):nth-last-child(n+2) .page-link {
		min-width: 1.9rem;
		font-size: 0.75rem;
	}
}

/* Alternative: Outline style pagination (optional) */
.pagination.pagination-outline .page-link {
	background: transparent;
	border-color: #d1d5db;
	color: #6b7280;
}

.pagination.pagination-outline .page-item.active .page-link {
	background: transparent;
	border-color: #6366f1;
	color: #6366f1;
	font-weight: 600;
}

.pagination.pagination-outline .page-link:hover:not(.disabled) {
	background: rgba(99, 102, 241, 0.05);
	border-color: #6366f1;
	color: #5a67d8;
}

/* Smooth pagination transitions */
.page-item .page-link {
	will-change: transform, box-shadow, border-color;
}

/* ============================================================
   managepks.php small-screen design (match viewpk.php)
   ============================================================ */
@media (max-width: 640px) {
    body.pk-page.pk-schedules-page #pkTable {
        min-width: auto !important;
        width: 100%;
        table-layout: block;
    }

    body.pk-page.pk-schedules-page .pk-schedules-responsive {
        overflow-x: visible !important;
    }

    body.pk-page.pk-schedules-page #pkTable thead {
        display: none;
    }

    body.pk-page.pk-schedules-page #pkTable tbody {
        display: block;
    }

    body.pk-page.pk-schedules-page #pkTable tbody tr[data-bigo-id] {
        display: block;
        border: 1px solid #e9d5ff;
        border-radius: 12px;
        margin: 0 0 0.75rem;
        padding: 0.75rem;
        background: #ffffff;
        box-shadow: 0 2px 12px rgba(109,40,217,0.08);
    }

    body.pk-page.pk-schedules-page #pkTable tbody tr[data-bigo-id] td {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 0.8rem;
        width: 100%;
        min-width: 0;
        padding: 0.45rem 0;
        border-bottom: 1px solid #f3e8ff;
        overflow: visible;
        font-size: 0.8rem;
    }

    body.pk-page.pk-schedules-page #pkTable tbody tr[data-bigo-id] td:last-child {
        border-bottom: none;
    }

    body.pk-page.pk-schedules-page #pkTable tbody tr[data-bigo-id] td::before {
        content: attr(data-label);
        font-size: 0.6rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        color: #7c3aed;
        flex-shrink: 0;
        min-width: 40%;
        max-width: 40%;
    }

    body.pk-page.pk-schedules-page #pkTable tbody tr[data-bigo-id] td > * {
        max-width: 60%;
        min-width: 0;
        margin-left: auto;
        text-align: right;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    body.pk-page.pk-schedules-page #pkTable tbody tr[data-bigo-id] td .badge-status,
    body.pk-page.pk-schedules-page #pkTable tbody tr[data-bigo-id] td .pk-chip,
    body.pk-page.pk-schedules-page #pkTable tbody tr[data-bigo-id] td .vs-badge,
    body.pk-page.pk-schedules-page #pkTable tbody tr[data-bigo-id] td .time-cell {
        justify-content: flex-end;
    }

    body.pk-page.pk-schedules-page #pkTable tbody tr[data-bigo-id] td:nth-child(1) .d-flex {
        justify-content: flex-end;
        gap: 0.35rem !important;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    body.pk-page.pk-schedules-page #pkTable tbody tr[data-bigo-id] {
        padding: 0.6rem;
    }

    body.pk-page.pk-schedules-page #pkTable tbody tr[data-bigo-id] td {
        padding: 0.35rem 0;
        font-size: 0.75rem;
    }

    body.pk-page.pk-schedules-page #pkTable tbody tr[data-bigo-id] td::before {
        min-width: 38%;
        max-width: 38%;
        font-size: 0.55rem;
    }

    body.pk-page.pk-schedules-page #pkTable tbody tr[data-bigo-id] td > * {
        max-width: 62%;
    }

    body.pk-page.pk-schedules-page #pkTable tbody tr[data-bigo-id] .pk-chip {
        font-size: 0.65rem;
        padding: 0.2em 0.45em;
    }

    body.pk-page.pk-schedules-page #pkTable tbody tr[data-bigo-id] .badge-status {
        font-size: 0.65rem;
        padding: 0.24em 0.5em;
    }

    body.pk-page.pk-schedules-page #pkTable tbody tr[data-bigo-id] .time-cell {
        font-size: 0.7rem;
    }
}