/* Glass Panel Styles - Dark Blue Theme */
.glass-panel {
    /* Dark Blue Glass Background to Match Header/Hero */
    background: rgba(6, 30, 62, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    /* Ensure Text is White for Contrast */
    color: #ffffff;
}

.glass-panel:hover {
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(6, 30, 62, 0.95);
}

/* Ensure headings and text inside are white */
.glass-panel h1,
.glass-panel h2,
.glass-panel h3,
.glass-panel h4,
.glass-panel h5,
.glass-panel h6 {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.glass-panel p,
.glass-panel span,
.glass-panel label {
    color: rgba(255, 255, 255, 0.9) !important;
}

.glass-panel .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Form Controls in Glass Panel */
.glass-panel .form-control,
.glass-panel .form-select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    backdrop-filter: blur(5px);
}

.glass-panel .form-control:focus,
.glass-panel .form-select:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-cyan, #00F0FF);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
    color: #ffffff;
}

.glass-panel .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.glass-panel .input-group-text {
    background: rgba(31, 143, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

/* Remove default dark styling for option elements (browser limitation, but try to style) */
.glass-panel option {
    background-color: #061E3E;
    color: white;
}

/* Dark Mode Support needed? 
   The panel is already dark, so it works in both modes. 
   Unless the page background is black, then maybe adjust opacity.
*/
body.dark-mode .glass-panel {
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
}