* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
    background-color: #fff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
}

.container {
    width: 100%;
    padding: 20px;
}

form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    margin-bottom: 35px;
}

.logo img {
    width: 60px;
    height: 60px;
}

.form-group {
    width: 100%;
    margin-bottom: 12px;
}

.form-group label {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    color: #1C2B33;
}

.form-group input {
    width: 100%;
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 17px;
    outline: none;
    background-color: #fff;
}

.form-group input:focus {
    border-color: #1877f2;
    box-shadow: 0 0 0 2px #e7f3ff;
}

.input-container {
    position: relative;
    width: 100%;
}

.input-container input {
    width: 100%;
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 17px;
    outline: none;
    background-color: #fff;
}

.input-container label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #65676b;
    font-size: 17px;
    pointer-events: none;
    transition: 0.2s ease all;
}

.input-container input:focus ~ label,
.input-container input:not(:placeholder-shown) ~ label {
    top: 0;
    font-size: 12px;
    background-color: white;
    padding: 0 4px;
    color: #1877f2;
}

.login-btn {
    width: 100%;
    background-color: #1877f2;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: normal;
    cursor: pointer;
    height: 44px;
    margin: 16px 0;
}

.login-btn:hover {
    background-color: #166fe5;
}

.forgot-password {
    text-align: center;
    margin: 10px 0;
}

.forgot-password a {
    color: #1C2B33;
    text-decoration: none;
    font-size: 16px;
}

.forgot-password a:hover {
    text-decoration: underline;
}

.create-account {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background-color: #fff;
}

.create-account-btn {
    width: 100%;
    height: 44px;
    background-color: #fff;
    color: #0064e0;
    border: 1px solid #0064e0;
    border-radius: 50px;
    font-size: 16px;
    font-weight: normal;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.create-account-btn:hover {
    background-color: #f5f6f7;
}

@media (max-width: 480px) {
    .container {
        padding: 15px;
    }
    
    .create-account {
        padding: 15px;
    }
}

.meta-footer {
    text-align: center;
    margin-top: 20px;
}

.meta-footer img {
    width: 60px;
    height: 12px;
    margin-bottom: 10px;
}

.meta-links {
    display: flex;
    justify-content: center;
    gap: 2px;
    flex-wrap: nowrap;
}

.meta-links a {
    color: #63788A;
    text-decoration: none;
    font-size: 10px;
    width: auto;
    height: 18px;
    display: inline-block;
    line-height: 18px;
    margin: 0 2px;
    white-space: nowrap;
}

.meta-links a:hover {
    text-decoration: underline;
}

.message {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 15px;
    text-align: center;
    animation: slideIn 0.3s ease-in-out;
}

.message.success {
    background-color: #e7f3e5;
    color: #2d632f;
    border: 1px solid #c3e6cb;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.login-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.password-container {
    position: relative;
    width: 100%;
}

.password-container input {
    width: 100%;
    padding: 16px;
    padding-right: 40px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 17px;
    outline: none;
    background-color: #fff;
}

.show-password-icon, .hide-password-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
}

.show-password-icon.visible {
    opacity: 0.6;
    visibility: visible;
}

.hide-password-icon.visible {
    opacity: 0.6;
    visibility: visible;
}

.show-password-icon:hover, .hide-password-icon:hover {
    opacity: 1;
}

.input-wrapper {
    position: relative;
    width: 100%;
}

.clear-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    cursor: pointer;
    display: none;
    z-index: 10;
    pointer-events: all;
    opacity: 0.6;
}

.clear-icon:hover {
    opacity: 1;
} 