/* /assets/login.css */

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 20px;
    background-color: #ffffff;
    margin: auto;
}

.login-box {
    background-color: #fff;
    padding: 40px 52px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 560px;
    border: 2px solid #c3dafe;
}

h2 {
    margin-top: 0;
    font-size: 24px;
    text-align: left;
    margin-bottom: -1px;
    font-family: 'Playfair Display', sans-serif;
}

.subheading {
    color: #666;
    font-size: 14px;
    text-align: left;
    margin-bottom: 24px;
    margin-top: 5px;
}

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

label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: #333;
}

input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
}

input[type='checkbox']{
    width: 3%;
}

.password-wrapper {
    position: relative;
}

.toggle-visibility {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 16px;
    color: #888;
}

.btn {
    width: 100%;
    background-color: #2563eb;
    color: white;
    border: none;
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 9999px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #1e40af;
}

.register-link {
    font-weight: 300;
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: #555;
}

.register-link a {
    color: #2563eb;
    text-decoration: none;
}

.register-link a:hover {
    text-decoration: underline;
}

@media (max-width: 560px) {
    .login-container {
        padding: 16px 12px;
    }
    .login-box {
        padding: 28px 20px;
        border-radius: 12px;
    }
    h2 {
        font-size: 20px;
    }
    .btn {
        font-size: 15px;
        padding: 11px;
    }
    .register-link {
        font-size: 12px;
    }
}


.form-label-with-tooltip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 500;
}

.info-icon {
    position: relative;
    color: #666;
    font-size: 14px;
    cursor: help;
    display: inline-block;
    width: 16px;
    height: 16px;
    line-height: 1;
    text-align: center;
}

.info-icon i {
    font-size: 14px;
}

.info-icon::after {
    content: attr(aria-label);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    white-space: normal;
    width: 240px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 1000;
    text-align: center;
}

.info-icon:hover::after,
.info-icon:focus::after {
    opacity: 1;
}

