body, html {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.LoginBG {
    background-image: url('Assets/Login_BG.jpg'); 
}

.RegisterBG {
    background-image: url('Assets/Register_BG.jpg'); 
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

button {
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.login-container {
    position: relative;
    background: linear-gradient(
        to right bottom,
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.05)
    );
    backdrop-filter: blur(8px);
    padding: 40px;
    border-radius: 15px;
    width: 90%;
    max-width: 380px;
    box-shadow: 0 8px 32px 0 rgba(197, 56, 37, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.18);
    overflow: hidden;
    background-size: 100% 200%; 
}

.login-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        rgba(165, 83, 6, 0.5),
        rgba(194, 9, 24, 0.5),
        rgba(168, 5, 87, 0.5)
    );
    background-size: 400% 400%; 
    -webkit-animation: gradientAnimation 2s ease infinite;
    animation: gradientAnimation 2s ease infinite;
    z-index: -1;
    border-radius: 15px;
    opacity: 0.3; 
}

.login-container::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 1px;
    border-radius: 15px;
    pointer-events: none;
    box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.1);
}

@keyframes gradientAnimationLOG {
    0% { background-position: 50% 0%; }
    50% { background-position: 50% 100%; }
    100% { background-position: 50% 0%; }
}

.register-container {
    position: relative;
    background: linear-gradient(
        to right bottom,
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.05)
    );
    backdrop-filter: blur(8px);
    padding: 40px;
    border-radius: 15px;
    width: 90%;
    max-width: 380px;
    box-shadow: 0 8px 32px 0 rgba(134, 134, 134, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.18);
    overflow: hidden;
    background-size: 100% 200%; 
}

.register-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        rgba(184, 105, 77, 0.5),
        rgba(36, 82, 121, 0.5),
        rgba(104, 43, 72, 0.5)
    );
    background-size: 400% 400%; 
    -webkit-animation: gradientAnimationREG 2s ease infinite;
    animation: gradientAnimationREG 2s ease infinite;
    z-index: -1;
    border-radius: 15px;
    opacity: 0.3; 
}

.register-container::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 1px;
    border-radius: 15px;
    pointer-events: none;
    box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.1);
}

@keyframes gradientAnimationREG {
    0% { background-position: 50% 0%; }
    50% { background-position: 50% 100%; }
    100% { background-position: 50% 0%; }
}

.register-container select.glass-select {
    width: 100%;
    padding: 10px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 14px;
    appearance: none;
    transition: all 0.3s ease;
}

.register-container select.glass-select:hover {
    background: rgba(255, 255, 255, 0.25);
}

.register-container select.glass-select:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.register-container {
    max-height: 90vh;
    overflow-y: auto;
}

.login-form {
    display: flex;
    flex-direction: column;
}

h2 {
    color: white;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2em;
    font-family: 'Spectral', serif;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.input-group {
    margin-bottom: 20px;
}

input {
    width: 100%;
    padding: 12px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    transition: all 0.3s ease;
    font-size: 16px;
}

input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

input::placeholder {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px; 
}

.divider {
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin: 15px 0;
    font-size: 0.9em;
    font-family: 'Spectral', serif;
    font-weight: 500;
    letter-spacing: 0.03em;
    display: flex;
    align-items: center;
    gap: 1px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.4) 50%, transparent 100%);
}

.download-prompt {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: white;
    font-size: 0.95em;
}

.download-button {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-block;
    text-align: center;
    line-height: 1.3;
}

.download-button:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.remember-register {
    margin: 10px 0 5px;
    padding: 0 5px; 
}

.remember-me {
    margin-left: 5px;
    color: rgba(255, 255, 255, 0.9); 
    font-size: 0.85em; 
    display: flex;
    align-items: center;
    gap: 8px;
}

.remember-me input {
    display: none;
}

.checkmark {
    width: 16px;
    height: 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    display: inline-block;
    transition: all 0.2s ease;
}

.remember-me input:checked + .checkmark {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.5);
}

.register-text {
    margin: 12px 0 0 12px;
    font-size: 0.82em;
    color: rgba(255, 255, 255, 0.85);
    padding-left: 12px; 
    text-align: left;
}

.register-here {
    color: white !important; 
    text-decoration: none !important; 
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(3px);
    padding: 8px 20px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 600;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.register-here:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.small-divider {
    background: rgba(255,255,255,0);
    height: 1px;
    margin: 20px 0; 
}

.login-container select.glass-select {
    width: 100%;
    padding: 10px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 14px;
    appearance: none;
    transition: all 0.3s ease;
}

.login-container select.glass-select:hover {
    background: rgba(255, 255, 255, 0.25);
}

.login-container select.glass-select:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.input-group input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 0.7;
}

.input-group input[type="date"]:focus::-webkit-calendar-picker-indicator {
    opacity: 1;
}

.input-group input {
    padding: 10px;
    font-size: 14px;
}

.login-container {
    max-height: 90vh;
    overflow-y: auto;
}

.input-row {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.input-group.compact {
    flex: 1;
    min-width: 100px;
}

.glass-select {
    position: relative;
    background: rgba(255, 255, 255, 0.2) url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>") no-repeat right 8px center/16px;
    padding-right: 30px !important;
}

.glass-select option {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    backdrop-filter: blur(10px);
}

.password-strength {
    height: 3px;
    background: rgba(255,255,255,0.2);
    margin-top: 8px;
    border-radius: 2px;
}

.strength-bar {
    height: 100%;
    width: 0%;
    background: #ff4757;
    border-radius: 2px;
    transition: all 0.3s ease;
}

select.glass-select {
    color: white !important;
}

select.glass-select:invalid {
    color: rgba(255,255,255,0.7) !important;
}

.strength-bar.weak { width: 30%; background: #ff4757; }
.strength-bar.medium { width: 60%; background: #ffa502; }
.strength-bar.strong { width: 100%; background: #2ed573; }

.logout-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.logout-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}









