* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body, html {
    height: 100%;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.login-wrapper {
    width: 100%;
    max-width: 440px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: -120px; /* Center optically slightly higher */
}

.alert-box {
    background-color: #d9534f;
    color: white;
    width: 100%;
    padding: 14px 16px;
    border-radius: 3px;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.alert-box i {
    font-size: 15px;
    margin-right: 10px;
    background-color: white;
    color: #d9534f;
    border-radius: 50%;
}

.logo {
    color: #ff6a00;
    font-size: 54px;
    font-style: italic;
    font-weight: 900;
    font-family: 'Arial Black', Impact, sans-serif;
    letter-spacing: -2px;
    margin-bottom: 28px;
    text-shadow: 1px 1px 0px rgba(0,0,0,0.05);
}

.login-form {
    width: 100%;
    max-width: 350px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    color: #1b4b72;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 6px;
}

.input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.input-container .icon {
    position: absolute;
    left: 12px;
    color: #888888;
    font-size: 14px;
    z-index: 2;
}

.form-input {
    width: 100%;
    height: 40px;
    padding: 6px 12px 6px 34px; /* Extra left padding for icon */
    border: 1px solid #cccccc;
    border-radius: 3px;
    font-size: 14px;
    color: #555555;
    outline: none;
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.form-input:focus {
    border-color: #66afe9;
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075), 0 0 8px rgba(102,175,233,0.6);
}

.form-input::placeholder {
    color: #999999;
}

.submit-btn {
    width: 100%;
    height: 40px;
    background-color: #31b0d5;
    color: #ffffff;
    border: 1px solid #269abc;
    border-radius: 3px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 6px;
    transition: background-color 0.2s;
}

.submit-btn:hover {
    background-color: #269abc;
}

.footer-links {
    position: absolute;
    bottom: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    font-size: 11px;
    color: #333333;
    width: 100%;
    padding: 0 20px;
    font-weight: bold;
}

.footer-links span {
    cursor: pointer;
}

.footer-links span:hover {
    text-decoration: underline;
}

/* Floating Lang Selector */
.lang-selector {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 10px 16px;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    cursor: pointer;
}

.flag-icon {
    width: 22px;
    height: auto;
    margin-right: 10px;
}

.lang-text {
    font-size: 14px;
    color: #333;
    font-weight: bold;
    margin-right: 10px;
}

.dropdown-arrow {
    font-size: 10px;
    color: #666;
    transform: scaleX(1.5);
}

/* Responsive */
@media (max-width: 480px) {
    .login-wrapper {
        padding: 0 20px;
        margin-top: -60px;
    }
    .alert-box {
        max-width: 100%;
    }
    .lang-selector {
        display: none;
    }
    .footer-links {
        bottom: 20px;
        gap: 10px;
    }
}
