/* Glassmorphism Theme for Oficina Tech */
body {
    background: linear-gradient(180deg, #ffffff 0%, #ffffff 10%, #cc0000 60%, #000000 100%);
    /* Vertical: White (top) to Red to Black */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

#container-email_senha {
    background: transparent !important;
    /* Override default */
}

.background-image {
    display: none !important;
    /* Hide default background div if exists */
}

#container-form {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15) !important;
    border-radius: 20px !important;
    padding: 40px !important;
    max-height: 75vh;
    /* Limit height to 75% of viewport */
    overflow-y: auto;
    /* Enable vertical scrolling */
    scrollbar-width: thin;
    /* Firefox */
    scrollbar-color: rgba(255, 255, 255, 0.5) rgba(255, 255, 255, 0.1);
    /* Firefox */
}

/* Webkit Scrollbar Styling */
#container-form::-webkit-scrollbar {
    width: 6px;
}

#container-form::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

#container-form::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
}

#container-form::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.7);
}

.form-label {
    color: #ffffff !important;
    /* White text for better contrast */
    font-weight: 600;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    /* Subtle shadow for readability */
}

#version-display {
    position: fixed !important;
    bottom: 10px !important;
    left: 10px !important;
    top: auto !important;
    color: rgba(255, 255, 255, 0.8) !important;
    /* White text for version at footer */
}

.form-control,
.form-select {
    background: rgba(255, 255, 255, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: blur(5px);
    color: #333 !important;
    border-radius: 12px !important;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    background: rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 0 15px rgba(233, 30, 99, 0.2) !important;
    border-color: #e91e63 !important;
    transform: translateY(-2px);
}

.btn-danger {
    background: linear-gradient(45deg, #FF416C, #FF4B2B) !important;
    border: none !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(255, 65, 108, 0.4) !important;
    font-weight: 700 !important;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 65, 108, 0.6) !important;
}

/* Logo styling enhancement */
#logo-container img {
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
    transition: transform 0.5s ease;
}

#logo-container img:hover {
    transform: scale(1.05);
}