/* Search Section Container */
.search-container-wrap {
    background: #ffffff !important;
    padding: 60px 0;
}

.gaming-fieldset {
    border: 2px solid #f0f0f0 !important;
    padding: 2rem !important;
    position: relative;
    background: #fff;
    box-shadow: 15px 15px 0px rgba(0, 0, 0, 0.03); /* Blocky shadow like the Tier cards */
    transition: 0.3s;
}

.gaming-fieldset:hover {
    border-color: var(--secondary-color);
}

/* Label Styling */
.gaming-fieldset label {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 800;
    color: #444;
    text-shadow: 1px 1px 0px #fff; /* Creates a subtle 'engraved' look on white */
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}

.gaming-fieldset .form-control, 
.gaming-fieldset .form-select {
    border-radius: 0;
    /* Darker top/left and lighter bottom/right creates a 'carved' 3D effect */
    border-top: 2px solid #bbb;
    border-left: 2px solid #bbb;
    border-bottom: 1px solid #eee;
    border-right: 1px solid #eee;
    
    background-color: #fdfdfd;
    font-family: 'Rajdhani', sans-serif; /* Keep the gaming font consistency */
    font-weight: 600;
    padding: 12px;
    
    /* This shadow creates the internal 'depth' */
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.08);
    
    transition: all 0.2s ease-in-out;
}

/* 3D Focus State: The 'Power-Up' effect */
.gaming-fieldset .form-control:focus,
.gaming-fieldset .form-select:focus {
    outline: none;
    background-color: #fff;
    /* Change the depth color to your brand cyan */
    border-top: 2px solid var(--secondary-color);
    border-left: 2px solid var(--secondary-color);
    border-bottom: 1px solid #eee;
    border-right: 1px solid #eee;
    
    /* Add a neon internal glow */
    box-shadow: inset 2px 2px 8px rgba(0, 242, 255, 0.1), 
                0 0 10px rgba(0, 242, 255, 0.1);
    
    color: #000;
}

/* Search Button Overhaul */
.search-btn button {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 26px !important;
    letter-spacing: 2px;
    background: var(--gaming-gradient);
    border: none;
    color: white;
    padding: 12px !important;
    clip-path: polygon(5% 0, 100% 0, 95% 100%, 0 100%); /* Angled edges */
    transition: 0.3s;
}

.search-btn button:hover {
    box-shadow: 0 0 20px var(--secondary-color);
    transform: scale(1.02);
}

/* Container for the custom checkbox */
.checkbox-wrap {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 35px; /* Space for the custom box */
    cursor: pointer;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 1px;
    user-select: none;
}

/* Hide the default browser checkbox */
.checkbox-wrap input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* The Custom 3D Box (The Inset "Slot") */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 22px;
    width: 22px;
    background-color: #eee;
    /* 3D Inset Borders */
    border-top: 2px solid #bbb;
    border-left: 2px solid #bbb;
    border-bottom: 1px solid #fff;
    border-right: 1px solid #fff;
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

/* Hover Effect */
.checkbox-wrap:hover input ~ .checkmark {
    background-color: #fdfdfd;
    border-color: var(--secondary-color);
}

/* Checked State - The "Power On" Look */
.checkbox-wrap input:checked ~ .checkmark {
    background-color: #121212; /* Obsidian Black */
    border-top: 2px solid #000;
    border-left: 2px solid #000;
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.4);
}

/* The Indicator (The glowing check) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 7px;
    top: 3px;
    width: 6px;
    height: 11px;
    border: solid var(--secondary-color);
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
    filter: drop-shadow(0 0 3px var(--secondary-color));
}

/* Show the checkmark when checked */
.checkbox-wrap input:checked ~ .checkmark:after {
    display: block;
}
