body#login {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    background: linear-gradient(135deg, #e0f2f7 0%, #c1e4ee 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.content-wrapper {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px;
}

.login-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    max-width: 440px;
    width: 100%;
    border: 3px solid #F8B108;
}

@media (max-width: 576px) {
    .login-card {
        padding: 30px 20px;
    }

    .iavanza-logo img {
        max-width: 130px;
    }

    .main-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    .footer-content {
        font-size: 0.75rem;
    }
}

.iavanza-logo {
    text-align: center;
    margin-bottom: 20px;
}

.iavanza-logo img {
    max-width: 280px;
    height: auto;
}

.main-title {
    text-align: center;
    color: #333333;
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

.form-label {
    font-weight: 600;
    color: #555555;
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.form-control,
.form-select {
    border-radius: 8px;
    padding: 10px 15px;
}

.form-control:focus,
.form-select:focus {
    border-color: #0193A9;
    box-shadow: 0 0 0 0.3rem rgba(1, 147, 169, 0.2);
}

.form-control:disabled,
.form-select:disabled {
    background-color: #f7f7f7;
    opacity: 0.9;
}

.form-check-icon {
    color: #28a745;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    display: none;
    z-index: 5;
    pointer-events: none;
}

#input-user-container.was-validated .form-control.is-valid+.form-check-icon {
    display: block;
}

.input-group-text {
    background-color: #ffffff;
    border: 1px solid #ced4da;
    border-left: none;
    cursor: pointer;
    padding: 0.375rem 0.75rem;
    border-top-right-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
    z-index: 6;
}

.input-group-text i {
    color: #777;
    font-size: 1.1rem;
}

.btn-login {
    width: 100%;
    padding: 12px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 8px;
    background-color: #0193A9;
    border: none;
    color: white;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 6px rgba(1, 147, 169, 0.3);
    margin-top: 30px;
    transition: all 0.3s ease;
}

.btn-login:hover:not(:disabled) {
    background-color: #007c91;
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(1, 147, 169, 0.4);
}

.btn-login:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    box-shadow: none;
}

.footer-content {
    text-align: center;
    padding: 15px;
    font-size: 0.85rem;
    color: #ff9900;
    width: 100%;
    background-color: transparent;
    box-shadow: none;
    border-top: 1px solid #c1e4ee;
    line-height: 1.5;
}

.footer-content a {
    color: #0193A9;
    text-decoration: none;
    font-weight: 600;
    display: block;
    font-size: 1.0rem;
}

.error-container {
    display: none;
    background-color: #fde8e8;
    color: #c81e1e;
    border: 1px solid #f8b4b4;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

@media (max-width: 576px) {
    .login-card {
        padding: 30px 20px;
    }

    .main-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }
}