/*
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
Click nbfs://nbhost/SystemFileSystem/Templates/Other/CascadeStyleSheet.css to edit this template
*/
/* 
    Created on : 13 May 2025, 5:02:08 pm
    Author     : raghvendrapratapsingh
*/



 .matchmaking-section {
    background: linear-gradient(135deg, #3f214d 0%, #16213e 50%, #041427 100%) !important;
    position: relative;
    overflow: hidden;
}

/* Add starry effect */
.matchmaking-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #eee, transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 90px 40px, #fff, transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255,255,255,0.6), transparent),
        radial-gradient(2px 2px at 160px 30px, #fff, transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    opacity: 0.3;
    z-index: 1;
}

/* Ensure content appears above stars */
.matchmaking-section .container {
    position: relative;
    z-index: 2;
}

/* Heading colors to match theme */
.matchmaking-section h2 {
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.matchmaking-section h5 {
    color: #e0e0e0 !important;
}

/* Male and Female section titles */
.text-male {
    color: #4fc3f7 !important; /* Light blue for male */
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

.text-female {
    color: #f48fb1 !important; /* Light pink for female */
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

/* Form controls styling */
.matchmaking-section .form-control,
.matchmaking-section .form-select {
    background-color: rgba(255,255,255,0.9);
    border: 1px solid rgba(255,255,255,0.3);
    color: #333;
}

.matchmaking-section .form-control:focus,
.matchmaking-section .form-select:focus {
    background-color: rgba(255,255,255,0.95);
    border-color: #4fc3f7;
    box-shadow: 0 0 0 0.2rem rgba(79, 195, 247, 0.25);
}

/* Button styling to match theme */
.matchmaking-section .btn-warning {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    border: none;
    color: white;
    font-weight: bold;
    padding: 12px 30px;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(238, 90, 36, 0.3);
    transition: all 0.3s ease;
}

/* Divider styling */
.divider .line {
    background-color: #4fc3f7 !important;
    box-shadow: 0 0 10px rgba(79, 195, 247, 0.5);
}

.divider .bar {
    background-color: #f48fb1 !important;
    box-shadow: 0 0 5px rgba(244, 143, 177, 0.5);
}


.autocomplete-suggestions div:hover {
    background-color: rgba(79, 195, 247, 0.2) !important;
}

/* Additional cosmic glow effects */
.matchmaking-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(45deg, #4fc3f7, #f48fb1);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(79, 195, 247, 0.8);
}

  

.autocomplete-container {
    position: relative;
    overflow: visible !important; /* Force visible */
}

.col-lg-6 {
    overflow: visible !important; /* Force visible */
}

.row {
    overflow: visible !important; /* Force visible */
}

.autocomplete-suggestions {
    position: absolute;
    top: 100%;
    left: 0; 
    right: 0;
    /*background: white !important;  Temporary red background to see if it shows */
    /*border: 2px  !important;  Blue border to spot it */
    border-radius: 0 0 6px 6px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 99999 !important; /* Very high z-index */
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: block !important; /* Force display */
    opacity: 1 !important;
    visibility: visible !important;
    background: rgba(30, 30, 60, 0.95) !important;
    border: 1px solid rgba(79, 195, 247, 0.3) !important;
    backdrop-filter: blur(10px);
}

.autocomplete-suggestions div {
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid #f8f9fa;
    transition: background-color 0.15s ease;
    color: #ffffff !important;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    
}