html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/*login*/

/* Background setup to match the mountain vibe */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;

   
}

/* The Glass Card */
.glass-card-limit {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 3rem;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    color: white;
    text-align: center;
}

.login-title {
    font-weight: 600;
    margin-bottom: 2rem;
    font-size: 2.2rem;
}

/* Custom Input Styling */
.input-group-custom {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-input-custom {
    width: 100%;
    padding: 12px 45px 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 30px;
    color: white;
    outline: none;
    appearance: none; /* Removes default dropdown arrow */
}

    .form-input-custom::placeholder {
        color: rgba(255, 255, 255, 0.8);
    }

    .form-input-custom option {
        /*background: #512da8;*/ /* Dark background for dropdown items */
        background: black;

        border-radius: 30px;
        color: white;
    }

/* Icons */
.input-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    opacity: 0.8;
}

/* Buttons & Links */
.options-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    padding: 0 10px;
}

.btn-login-submit {
    width: 100%;
    padding: 12px;
    border-radius: 30px;
    border: none;
    background: white;
    color: #333;
    font-weight: bold;
    font-size: 1.1rem;
    transition: 0.3s;
}

    .btn-login-submit:hover {
        background: rgba(255, 255, 255, 0.8);
        transform: translateY(-2px);
    }

.forgot-link, .register-text a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
}

.register-text {
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

.validation-msg {
    display: block;
    font-size: 0.8rem;
    margin-top: 5px;
    color: #ffb3b3;
}





/*Rooms*/

/* Container & Background */
.gaming-dashboard {
    padding: 20px;
 
}

.dashboard-title {
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Glass Card Styling */
.room-glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .room-glass-card:hover {
        transform: translateY(-5px);
        background: rgba(255, 255, 255, 0.08);
    }

/* Status Colors */
.is-free {
    border-bottom: 4px solid #00f2fe;
}

    .is-free .status-indicator {
        background: #00f2fe;
        box-shadow: 0 0 10px #00f2fe;
    }

.is-occupied {
    border-bottom: 4px solid #ff0055;
}

    .is-occupied .status-indicator {
        background: #ff0055;
        box-shadow: 0 0 10px #ff0055;
        animation: pulse 2s infinite;
    }

/* Card Elements */
.room-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.room-number {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.timer-display {
    text-align: center;
    padding: 15px 0;
}

.timer-label {
    font-size: 0.7rem;
    color: #aaa;
    letter-spacing: 1px;
}

.room-timer {
    color: #fff;
    font-family: 'Courier New', Courier, monospace;
    font-size: 2rem;
}

.idle-display {
    text-align: center;
    color: rgba(255,255,255,0.4);
}

.start-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 10px;
}

/* Buttons */
.btn-action {
    width: 100%;
    padding: 10px;
    border-radius: 12px;
    border: none;
    font-weight: 700;
    letter-spacing: 1px;
    transition: 0.3s;
    text-decoration: none;
    display: block;
    text-align: center;
}

.btn-start {
    background: #00f2fe;
    color: #000;
}

.btn-details {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
}

.btn-start:hover {
    background: #fff;
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.5);
}

/* Modal Styling */
.glass-card-m {
    background: rgba(20, 20, 30, 0.9) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 25px;
}

.modern-select {
    background: rgba(255,255,255,0.05);
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 10px;
}

.btn-confirm-start {
    width: 100%;
    background: linear-gradient(45deg, #00f2fe, #4facfe);
    border: none;
    padding: 12px;
    border-radius: 12px;
    font-weight: bold;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }

    100% {
        opacity: 1;
    }
}




/*Amind*/

/* Glassmorphism Core */
/*.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: white;
    transition: transform 0.3s ease;
}*/

    .glass-card:hover {
        transform: translateY(-5px);
        background: rgba(255, 255, 255, 0.15);
    }

/* PlayStation Themed Inputs */
.ps-input {
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
}

    .ps-input:focus {
        border-color: #0072ce !important;
        box-shadow: 0 0 10px rgba(0, 114, 206, 0.4);
    }

/* Data Table Styling */
/*.table-glass {
    color: white !important;
}*/

/*    .table-glass thead th {
        border-bottom: 2px solid rgba(255, 255, 255, 0.2);
        color:black;
        text-transform: uppercase;
        font-size: 0.75rem;
        letter-spacing: 1px;
    }

    .table-glass td {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding: 15px 10px;
    }*/



/* Ensure the glass card expands and stays transparent */
.glass-card {
    background: rgba(255, 255, 255, 0.08) !important; /* Very transparent */
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    width: 100% !important; /* Force full width */
}

/* Fix table text colors for the dark background */
.table-glass {
    color: white !important;
    width: 100% !important;
}

    .table-glass td, .table-glass th {
        background: transparent !important; /* Remove any white background from TD */
        color: white !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

/* Responsive wrapper to help it fit */
.table-responsive {
    width: 100%;
    margin: 0;
}