﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

.input-container {
    position: relative;
}

.toggle-button {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
}

body {
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.password-container {
    position: relative;
    border-radius: 8px;
    padding: 5px;
}

.toggle-icon {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    cursor: pointer;
    width: 20px;
    height: 20px;
    background: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor"> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="1" d="M13.875 18.825A10.05 10.05 0 0112 19c-4.477 0-8.268-2.943-9.542-7a10.05 10.05 0 013.011-4.5m5.64-3.015A10.03 10.03 0 0112 5c4.478 0 8.268 2.943 9.542 7-.405 1.29-.979 2.487-1.687 3.535M15 12a3 3 0 01-4.243 4.243M9.879 9.879a3 3 0 014.242 4.243m0 0L21 21M3 3l18 18" /></svg>') no-repeat center center;
    background-size: contain;
}

    .toggle-icon.active {
        background: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="black"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="1" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"/><path stroke-linecap="round" stroke-linejoin="round" stroke-width="1" d="M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"/></svg>') no-repeat center center;
        background-size: contain;
    }
/* Container */
.container {
    display: flex !important;
    gap: 80px !important;
    padding: 80px !important;
    height: 100vh !important;
}
/* Left Section */
.left-section {
    flex: 18;
    background-color: #F5F5F5;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-top: 1px solid #D5D5D5;
    border-bottom: 1px solid #D5D5D5;
    border-left: 1px solid #D5D5D5;
    border-right: 1px solid #D5D5D5;
    border-radius: 10px;
}
/* .illustration-container {
  position: relative;
  max-width: 400px;
} */
.illustration {
    width: 100%;
    height: auto;
}

.illustration-container-logo {
    position: relative;
    max-width: 400px;
}

.illustration-logo {
    width: 50%;
    height: auto;
}

.elements .icon {
    position: absolute;
    width: 50px;
    opacity: 0.3;
}

.icon:nth-child(1) {
    top: 20px;
    left: 10px;
}

.icon:nth-child(2) {
    bottom: 30px;
    right: 20px;
}
/* Right Section */
.right-section {
    flex: 18;
    background-color: #F5F5F5;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.login-box {
    width: 100%;
    max-width: 400px;
    /*text-align: center;*/
}

    .login-box h1 {
        font-size: 2rem;
        font-weight: bold;
        margin-bottom: 10px;
        color: #333;
    }

    .login-box p {
        color: #666;
        margin-bottom: 30px;
        font-size: 1rem;
    }

.form-group {
    margin-bottom: 20px;
    position: relative;
}

input {
    width: 100%;
    padding: 12px 15px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
}

    input:focus {
        border-color: #D5B241;
        outline: none;
    }

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
}

.form-options {
    text-align: right;
    margin-bottom: 20px;
}

.forgot-password {
    color: #D5B241;
    text-decoration: none;
    font-size: 0.9rem;
}

    .forgot-password:hover {
        text-decoration: underline;
    }

.btn {
    width: 100%;
    padding: 12px;
    background-color: #D5B241;
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
}

    .btn:hover {
        background-color: #D5B241;
    }

@media (max-width: 200px) {
    .container {
        width: 100% !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        padding: 5px !important;
    }

    .left-section {
        display: none !important;
        /* Hide the left section on very small devices */
    }

    .right-section {
        padding: 20px !important;
    }

    input {
        font-size: 0.85rem !important;
        padding: 10px !important;
    }

    .btn {
        font-size: 0.9rem !important;
    }
}

@media (max-width: 650px) {
    .container {
        flex-direction: column !important;
        padding: 10px !important;
        gap: 20px !important;
    }

    .right-section {
        display: none !important; /* Hide the image container */
    }

    .left-section,
    .right-section {
        flex: 1 !important;
        padding: 30px !important;
        text-align: center !important;
    }

    .illustration-container {
        max-width: 300px !important;
    }

    .illustration-container-logo {
        max-width: 300px !important;
    }

    .login-box {
        padding: 20px !important;
    }

    h1 {
        font-size: 1.5rem !important;
    }

    p {
        font-size: 0.9rem !important;
    }

    input {
        padding: 10px !important;
        font-size: 0.9rem !important;
    }

    .btn {
        font-size: 1rem !important;
        padding: 10px !important;
    }
}

.alert-danger {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}

    .alert-danger .alert-link {
        color: #6a1a21;
    }


.alert {
  position: relative;
  padding: 1rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
}

.alert-heading {
  color: inherit;
}

.alert-link {
  font-weight: 700;
}

.alert-dismissible {
  padding-right: 3rem;
}
.alert-dismissible .btn-close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  padding: 1.25rem 1rem;
}
.mb-0 {
    margin-bottom: 0 !important;
}

.mb-1 {
    margin-bottom: 0.25rem !important;
}

.mb-2 {
    margin-bottom: 0.5rem !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.mb-auto {
    margin-bottom: auto !important;
}

.txt-center {
    text-align: center !important;
}

.alert-primary {
    color: #084298 !important;
    background-color: #cfe2ff !important;
    border-color: #b6d4fe !important;
}

.alert-primary .alert-link {
    color: #06357a !important;
}