
.login {
    height: 100%;
    display: flex;
    align-items: stretch;
    background-color: #1a1a2e;
}

.login__wrapper {
    display: flex;
    flex-direction: row;
    margin: 0;
    width: 100%;
}

.login__left_part {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%) !important;
    position: relative;
    overflow: hidden;
}

.login__left_part::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(99, 102, 241, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.login__right_part {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    padding: 15px;
    background-color: #1a1a2e;
}

.login__form {
    margin: 0 8% 0 8%;
}

/* ############### */
/* #### TITLE #### */
/* ############### */

.login__form_title {
    align-self: center;
    font-weight: bold;
    margin-bottom: 20px;
    color: #e4e6eb;
}

/* ############## */
/* #### LOGO #### */
/* ############## */
.login__logo {
    max-width: 50%;
    z-index: 1;
}

.login__logo img {
    height: auto;
    max-width: 100%;
    filter: drop-shadow(0 0 30px rgba(99, 102, 241, 0.3));
}

.login__splash {
    max-width: 70%;
    margin-bottom: 30px;
    z-index: 1;
}

.login__splash img {
    height: auto;
    max-width: 100%;
    filter: drop-shadow(0 0 40px rgba(99, 102, 241, 0.4));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.login__left_part h3 {
    z-index: 1;
    text-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

.login__left_part span {
    z-index: 1;
}

/* ############### */
/* #### FIELD #### */
/* ############### */
.login__form_field_container {
    margin-bottom: 20px;
}

.login__form_field_container label {
    color: #b0b3b8;
}

.login__form_field_container input.form-control {
    background-color: #242526;
    border: 1px solid #3a3b3c;
    color: #e4e6eb;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.login__form_field_container input.form-control:focus {
    background-color: #242526;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
    color: #e4e6eb;
}

.login__form_field_container input.form-control::-moz-placeholder {
    color: #6b6d70;
}

.login__form_field_container input.form-control::placeholder {
    color: #6b6d70;
}

.login__form_input {
    display: flex;
    align-items: center;
}

.login__form_input * {
    margin-right: 5px;
}

.login__form_input *:last-child {
    margin-right: 0;
}

.login__show_password {
    cursor: pointer;
    right: 20px;
    color: #b0b3b8;
}

.login__show_password:hover {
    color: #6366f1;
}

.login__show_password--disabled {
    color: #4a4b4d;
}

/* ################ */
/* #### ACTION #### */
/* ################ */

.login__action_container {
    display: flex;
    justify-content: space-between;
}

.login__submit_button {
    width: 100%;
    font-weight: bold;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.login__submit_button:hover {
    background: linear-gradient(135deg, #818cf8 0%, #6366f1 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.login__submit_button:active {
    transform: translateY(0);
}

/* ################# */
/* #### CONTACT #### */
/* ################# */

.login__contact_container {
    align-self: center;
    color: #b0b3b8;
    margin-top: 20px;
}

.login__contact_container a {
    color: #6366f1;
}

.login__contact_container a:hover {
    color: #818cf8;
}

/* ############### */
/* #### ALERT #### */
/* ############### */

.login .alert-danger {
    background-color: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    color: #fca5a5;
}
