/*
 * Custom styles for login.php
 */

body.login-page {
    background-image: url('../img/bg/4.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    font-family: 'Public Sans', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.login-title-main {
    color: white;
    font-family: 'Michroma', sans-serif;
    font-size: 2.5rem;
    font-weight: normal;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    margin-bottom: 1.5rem;
    text-align: center;
    width: 100%;
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
}


.login-card-container {
    background-color: rgba(51, 65, 85, 0.6); /* Card/Content Area Background with transparency */
    backdrop-filter: blur(10px);
    border: 2px solid #3B82F6; /* Primary Blue */
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.6); /* Primary Blue with transparency */
    border-radius: 0.5rem; /* Bootstrap's .rounded-lg equivalent */
    padding: 2rem;
    width: 100%;
    max-width: 480px; /* Increased to accommodate larger logo */
    text-align: center;
    z-index: 10;
    transition: box-shadow 0.3s ease-in-out, border-color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.login-card-container:hover {
    border-color: #60A5FA; /* Lighter blue */
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.9); /* Primary Blue with transparency */
    transform: translateY(-5px);
}

.input-group-with-icon {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6B7280;
    z-index: 3;
}

.form-control.input-field-with-icon {
    padding-left: 2.8rem;
}

.form-control.bg-glass {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    border-color: #3B82F6; /* Primary Blue */
}

.form-control.bg-glass::placeholder {
    color: #CBD5E1; /* Secondary Text */
}

.form-control.bg-glass:focus {
    box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.5); /* Primary Blue with transparency */
}

.password-toggle-button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #adb5bd;
    z-index: 3;
}

.login-button-gradient {
    background-image: linear-gradient(to right, #3B82F6, #1D4ED8); /* Primary Blue to Primary Blue Dark */
    border: none;
    color: white;
    font-weight: bold;
    transition: all 0.2s ease-in-out;
}

.login-button-gradient:hover {
    background-image: linear-gradient(to right, #1D4ED8, #3B82F6); /* Primary Blue Dark to Primary Blue */
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.3); /* Darker shadow with transparency */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .login-title-main {
        font-size: 1.8rem;
    }
    .login-card-container {
        padding: 1.5rem;
        max-width: 90%;
    }
}

@media (max-width: 576px) {
    .login-title-main {
        font-size: 1.5rem;
        top: 20px;
    }
    
    .login-card-container img {
        width: 120px !important;
        height: 120px !important;
    }
}
