html, body {
    height: 100%;
}
body {
    height: auto;
    display: flex;
    flex-direction: column;
}
#wrapper {
    background-color:#fff7ef;
    padding: 1rem;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.b2b-authentication-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 2rem 1rem 1rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.b2b-authentication-container > * {
    margin-right: 1rem;
    margin-left: 1rem;
}
.b2b-authentication-container .alert {
    padding: .5rem 1rem;
    line-height: normal;
}
.b2b-header {
    text-align: center;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.b2b-header .logo {
    filter: brightness(0);
    margin-bottom: 2rem;
}

.b2b-header .icon-lock {
    font-size: 36px;
    color: #2fb5d2;
    display: inline-block;
}

.b2b-header h2 {
    font-size: 24px;
    margin-bottom: 0;
}

.b2b-message {
    /* background: #f8f9fa; */
    /* padding: 20px; */
    /* border-radius: 8px; */
    margin-bottom: 2rem;
    color: #555;
    /* line-height: 1.6; */
    /* border-left: 4px solid #2fb5d2; */
}

.b2b-login-form,
.b2b-password-form {
    text-align: center;
}

.b2b-login-form .btn,
.b2b-password-form .btn {
    margin-top: 1rem;
}

.b2b-form-group {
    margin-bottom: 1rem;
}

.b2b-form-group label {
    display: flex;
    align-items: center;
    line-height: normal;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    font-size: 14px;
    gap: .25rem;
}

.b2b-form-group input[type="email"],
.b2b-form-group input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}
.b2b-form-group .material-icons {
    font-size: 1.25rem;
    line-height: normal;
}
.b2b-form-group input:focus {
    outline: none;
    border-color: #2fb5d2;
    box-shadow: 0 0 0 3px rgba(47, 181, 210, 0.1);
}

.b2b-submit-btn {
    width: 100%;
    padding: 14px;
    background: #2fb5d2;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.b2b-submit-btn:hover {
    background: #28a0bd;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(47, 181, 210, 0.3);
}

.b2b-submit-btn:active {
    transform: translateY(0);
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 6px;
    font-size: 14px;
}

.alert-danger {
    background-color: #fee;
    border: 1px solid #fcc;
    color: #c33;
}

.alert ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.alert li {
    margin: 5px 0;
}

.b2b-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 20px;
    border-top: 1px solid #eee;
    color: #777;
    font-size: 13px;
}

.b2b-footer a {
    text-decoration: none;
    font-weight: 500;
}

.b2b-footer a:hover {
    text-decoration: underline;
}

@media (max-width: 576px) {
    .b2b-authentication-container {
    margin: 20px;
    padding: 25px;
    }
    
    .b2b-header h2 {
    font-size: 20px;
    }
}
