.login-container {
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    /*min-height: 100vh;*/
    /*padding: 40px;*/
}

.login-container .row {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.login-container .container {
    background-color: #f8f9fa;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 1000px;
    width: 100%;
}

.left-panel {
    background-color: #f8f9fa;
    background-image: url('../img/mosti.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    text-align: center;
    height: 100%;
    width: 100%;
    position: relative;
}

.left-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 56, 101, 0.65); /* Semi-transparent overlay */
    z-index: 1;
}

.left-panel img {
    max-width: 150px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.left-panel h5 {
    font-weight: 600;
    color: #ffffff;
    position: relative;
    z-index: 2;
}

.right-panel {
    background-color: #fff;
    padding: 50px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.right-panel .logo {
    max-width: 150px;
    margin-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
}

.right-panel form {
    width: 100%;
}

.right-panel .form-control, .left-panel .form-control {
    background-color: #f0f4f8;
    border: 1px solid #dce8f5;
    border-radius: 10px;
    padding: 12px 20px;
    margin-bottom: 15px;
    width: 100%;
}

.right-panel .form-control:focus, .left-panel .form-control:focus {
    background-color: #fff;
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    top: 25px;
    right: 20px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6c757d;
}

#inputConfPassword-error {
    margin-top: 5px; /* Adds a little space below the input */
}

.captcha-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.captcha-img {
    border-radius: 10px;
}

.btn-login {
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 600;
    padding: 12px;
    border-radius: 10px;
    border: none;
    transition: background-color 0.3s ease;
}

.btn-login:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.divider {
    text-align: center;
    margin: 20px 0;
    color: #adb5bd;
    font-weight: 300;
}

.mydigital-id {
    max-width: 120px;
    margin: 0 auto;
    display: block;
}

.bottom-links {
    text-align: center;
    margin-top: 30px;
}

.bottom-links a {
    color: #003865;
    font-weight: 300;
    text-decoration: none;
}

.bottom-links a:hover {
    text-decoration: underline;
}

/* CAPTCHA refresh link styling */
.captcha-refresh {
    font-size: 0.875rem; /* Decrease font size */
    display: inline-flex;
    align-items: center; /* Center icon with caption */
    gap: 6px;
    line-height: 1.2;
    color: #003865;
    text-decoration: none;
}

.captcha-refresh:hover {
    text-decoration: underline;
}

.captcha-refresh i {
    font-size: 0.95em; /* Slightly smaller icon to match text */
}

