/* Space Grotesk Regular */
@font-face {
    font-family: 'Space Grotesk';
    src: url('/font/SpaceGrotesk_Complete/Fonts/OTF/SpaceGrotesk-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

/* Space Grotesk Medium */
@font-face {
    font-family: 'Space Grotesk';
    src: url('/font/SpaceGrotesk_Complete/Fonts/OTF/SpaceGrotesk-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

/* Space Grotesk Bold */
@font-face {
    font-family: 'Space Grotesk';
    src: url('/font/SpaceGrotesk_Complete/Fonts/OTF/SpaceGrotesk-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

/* Dark theme base */
body {
    background: linear-gradient(135deg, #0F2123, #142B2F);
    min-height: 100vh;
    font-family: 'Space Grotesk', sans-serif;
    color: #00e5ffb9;
    font-size: smaller;
}

.reg-btn {
    background-color: #00e5ff00;
    text-decoration: none;
    color: #00E5FF;
    border: 2px solid #00E5FF;
    font-weight: 500;
    padding: 12px 5px;
}

.reg-btn:active {
    background-color: #00e5ff00;
    box-shadow: 0 0 12px #29eaff;
    color: #29eaff;
}

.reg-btn:hover {
    background-color: #00e5ff00;
    box-shadow: 0 0 12px #29eaff;
    color: #29eaff;
}

.reg-fill-btn {
    background-color: #00E5FF;
    color: #000000;
    border: none;
    font-weight: 700;
    padding: 12px 5px;
}

.reg-fill-btn:active {
    background-color: #00E5FF;
    box-shadow: 0 0 12px #29eaff;
    color: #000000;
}

.reg-fill-btn:hover {
    background-color: #00E5FF;
    box-shadow: 0 0 12px #29eaff;
    color: #000000;

}

.login-card {
    background-color: #0f212302;
}

.login-heading {
    font-size: 5vh;
    font-weight: 700;
}

.form-control {
    background-color: rgba(15, 33, 35, 0.7);
    /* dark transparent bg */
    border: 1px solid #00E5FF;
    /* neon cyan border */
    border-radius: 6px;
    /* rounded corners */
    color: #fff;
    /* text color */
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    outline: none;
    transition: 0.3s;
    padding: 10px 12px;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
    /* soft placeholder */
}

.form-control:focus {
    background-color: rgba(15, 33, 35, 0.7);
    border-color: #00FFFF;
    /* focus border */
    box-shadow: 0 0 12px #00E5FF60;
    color: #00E5FF;
    /* subtle neon glow */
}

.forgot-password {
    color: #00E5FF;
}

.login-btn {
    background-color: #00E5FF;
    color: #000000;
    border: none;
    font-size: 2vh;
    font-weight: 700;
    padding: 12px 5px;
}

.login-btn:active {
    background-color: #00E5FF;
    box-shadow: 0 0 12px #29eaff;
    color: #000000;
}

.login-btn:hover {
    background-color: #00E5FF;
    box-shadow: 0 0 12px #29eaff;
    color: #000000;

}

.signup-btn {
    background-color: #00e5ff00;
    text-decoration: none;
    color: #00E5FF;
    border: 2px solid #00E5FF;
    font-size: 2vh;
    font-weight: 500;
    padding: 12px 5px;
}

.signup-btn:active {
    background-color: #00e5ff00;
    box-shadow: 0 0 12px #29eaff;
    color: #29eaff;
}

.signup-btn:hover {
    background-color: #00e5ff00;
    box-shadow: 0 0 12px #29eaff;
    color: #29eaff;

}


/* ============================= */
/* ADMIN HEADER MODULE (adm-) */
/* ============================= */

.adm-header {
    margin: 1vh;
    border-radius: 2vh;
    height: 4.5rem;
    background: rgba(15, 33, 35, 0.7);
    backdrop-filter: blur(0.6rem);
    border-bottom: 0.08rem solid rgba(45, 92, 99, 0.4);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Title */
.adm-title {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08rem;
    text-transform: uppercase;
    color: #ffffff;
}

.adm-subtitle {
    font-size: 0.7rem;
    color: #8aa4a8;
}

/* Status Indicator */
.adm-status {
    position: relative;
    width: 0.6rem;
    height: 0.6rem;
}

.adm-dot {
    position: absolute;
    width: 0.6rem;
    height: 0.6rem;
    background-color: #00F2FF;
    border-radius: 50%;
}

.adm-pulse {
    position: absolute;
    width: 0.6rem;
    height: 0.6rem;
    background-color: #00F2FF;
    border-radius: 50%;
    animation: adm-pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes adm-pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    100% {
        transform: scale(3);
        opacity: 0;
    }
}

/* Icons */
.adm-icons i {
    color: #9fb5b9;
    cursor: pointer;
    transition: 0.3s ease;
}

.adm-icons i:hover {
    color: #00F2FF;
}

/* Profile Button */
.adm-profile {
    background: rgba(255, 255, 255, 0.05);
    border: 0.06rem solid rgba(255, 255, 255, 0.1);
    padding: 0.4rem 1rem 0.4rem 0.5rem;
    border-radius: 3rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: 0.3s ease;
    color: white;
}

.adm-profile:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #00F2FF;
}

.adm-profile::after {
    display: none;
}

/* Avatar */
.adm-avatar {
    width: 2.2rem;
    height: 2.2rem;
    background: linear-gradient(135deg, #00F2FF, #0088ff);
    color: #0F2123;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.9rem;
}

/* Name & Role */
.adm-name {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1;
}

.adm-role {
    font-size: 0.7rem;
    color: #648286;
    text-transform: uppercase;
}

/* Dropdown */
/* Fix Header Stacking */
.adm-header {
    position: relative;
    z-index: 1100;
}

/* Dropdown Container Fix */
.dropdown {
    position: relative;
}

/* Perfect Solid Dropdown */
.adm-dropdown {
    position: absolute;
    z-index: 2000 !important;

    background: #162E32 !important;
    opacity: 1 !important;
    backdrop-filter: none !important;

    border: 1px solid #00F2FF;
    border-radius: 12px;

    padding: 8px 0;
    min-width: 220px;

    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8);
}

/* Remove any inherited transparency */
.dropdown-menu {
    background-clip: padding-box;
    background-color: #162E32 !important;
}

/* Make items fully visible */
.adm-item {
    color: #E2E8F0 !important;
    background: transparent !important;
}

.adm-item:hover {
    background-color: #0A5558 !important;
    color: #00F2FF !important;
}

/* ============================= */
/* ADMIN SIDEBAR MODULE (adm-) */
/* ============================= */

.adm-sidebar {
    background: #162E32;
    padding: 3vh !important;
    width: 28%;
    min-width: 18rem;
    max-width: 20rem;
    height: 100vh;
    border-radius: 2rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

/* Brand Section */
.adm-logo {
    width: 40%;
    height: auto;
}

.adm-heading {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.08rem;
}

.adm-accent {
    color: #00F2FF;
}

/* Navigation */
.adm-nav {
    margin-top: 1rem;
}

.adm-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1rem;
    border-radius: 1rem;
    color: #cbd5e1;
    font-weight: 500;
    transition: 0.3s ease;
}

.adm-link i {
    font-size: 1.1rem;
    transition: 0.3s ease;
}

.adm-link:hover {
    background: rgba(0, 242, 255, 0.1);
    color: #00F2FF;
}

.adm-link:hover i {
    transform: translateX(0.3rem);
    color: #00F2FF;
}

/* Active State */
.adm-link.active {
    background: linear-gradient(90deg,
            rgba(0, 242, 255, 0.2),
            rgba(0, 136, 255, 0.2));
    color: #00F2FF;
    font-weight: 600;
}

/* ============================= */
/* ADMIN PLAYER DATA */
/* ============================= */
/* 1. Technical Table Overrides */
.player-table-card {
    background-color: #162E32;
    border: 1px solid rgba(45, 92, 99, 0.4);
    border-radius: 16px;
    overflow: hidden;
    color: white;
}

.table {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.85);
    border-collapse: separate;
    border-spacing: 0;
}

.table thead th {
    background-color: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(45, 92, 99, 0.6);
    color: #00F2FF;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1.5vh 1rem;
}

.table tbody td {
    background-color: transparent !important;
    /* Overriding your existing inline style */
    border-bottom: 1px solid rgba(45, 92, 99, 0.2);
    padding: 1.5vh 1rem;
    vertical-align: middle;
}

.table-hover tbody tr:hover td {
    background-color: rgba(0, 242, 255, 0.03) !important;
    color: #fff;
}

/* 2. Avatar & Identity */
.player-avatar,
.player-avatar-placeholder {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    /* Modern squircle */
    object-fit: cover;
    border: 1px solid rgba(0, 242, 255, 0.3);
}

.player-avatar-placeholder {
    background: rgba(0, 242, 255, 0.1);
    color: #00F2FF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* 3. Status & Accuracy Badges */
.player-status-badge {
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.player-status-active {
    background: rgba(10, 255, 150, 0.1);
    color: #0aff96;
    border: 1px solid rgba(10, 255, 150, 0.2);
}

.player-status-inactive {
    background: rgba(255, 70, 70, 0.1);
    color: #ff4646;
    border: 1px solid rgba(255, 70, 70, 0.2);
}

.accuracy-indicator {
    font-family: 'Courier New', Courier, monospace;
    color: #00F2FF;
    font-weight: bold;
}

/* 4. Action Button */
.player-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(45, 92, 99, 0.8);
    color: #E2E8F0;
    font-size: 0.8rem;
    border-radius: 6px;
    padding: 4px 12px;
    transition: 0.3s;
}

.player-btn:hover {
    border-color: #00F2FF;
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.3);
}

.player-categoty-badge {
    background: rgba(29, 131, 136, 0.87);
    padding: 3px 10px;
    border:1px solid rgb(50, 243, 253);
    color: white;
    border-image: initial;
    border-radius: 7px;
}


/* Profile Section */
.plyrd-profile-sidebar {
    background: rgba(0, 0, 0, 0.15);
    padding: 2rem;
    border-radius: 12px;
}

.plyrd-player-avatar-placeholder,
.plyrd-player-detail-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #00F2FF, #0088ff);
    color: #0F2123;
    border: 4px solid rgba(0, 242, 255, 0.2);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.15);
    object-fit: cover;
}

/* Data Rows */
.plyrd-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
    padding-left: 1rem;
}

.plyrd-data-strip {
    background: rgba(255, 255, 255, 0.03);
    padding: 12px 16px;
    border-radius: 8px;
    border-left: 3px solid rgba(45, 92, 99, 1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
}

.plyrd-data-strip:hover {
    background: rgba(255, 255, 255, 0.06);
    border-left-color: #00F2FF;
}

.plyrd-label-text {
    color: #648286;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.plyrd-value-text {
    font-weight: 500;
    font-size: 0.95rem;
}