* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    font-family: Arial, Helvetica, sans-serif;
    background: #e9ebef;
    color: #6a6a6a;
}

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.login-panel {
    width: 100%;
    max-width: 560px;
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.login-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    border-bottom: 4px solid #10a2dc;
}

.logo {
    margin: 0;
    padding: 18px 16px 12px;
    font-size: 40px;
    line-height: 1;
    letter-spacing: 0.4px;
    color: #128ec1;
    font-weight: 500;
}

.sign-in-tab {
    background: #0d95d2;
    color: #ffffff;
    padding: 11px 18px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 7px;
    border-radius: 2px 2px 0 0;
    text-transform: uppercase;
}

.tab-icon {
    font-size: 11px;
    opacity: 0.9;
}

.form-wrap {
    padding: 24px 36px 18px;
}

.error-message {
    margin: 0 0 12px;
    font-size: 13px;
    color: #d64242;
}

.field-label {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
    color: #5a5a5a;
}

.input-wrap {
    position: relative;
    margin-bottom: 18px;
}

.input-wrap input {
    width: 100%;
    height: 44px;
    border: 1px solid #d7d7d7;
    border-radius: 2px;
    padding: 10px 42px 10px 12px;
    font-size: 14px;
    color: #555555;
    background: #ffffff;
    outline: none;
}

.input-wrap input:focus {
    border-color: #83c3df;
    box-shadow: 0 0 0 1px rgba(16, 162, 220, 0.12);
}

.input-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    opacity: 0.7;
}

.password-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.link-small {
    margin-bottom: 8px;
    font-size: 13px;
    color: #279ed2;
    text-decoration: none;
}

.link-small:hover {
    text-decoration: underline;
}

.form-footer {
    margin-top: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.remember-me {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #898989;
}

.remember-me input[type="checkbox"] {
    width: 14px;
    height: 14px;
    margin: 0;
}

.btn-signin {
    border: none;
    background: #1098d7;
    color: #ffffff;
    font-size: 24px;
    line-height: 1;
    padding: 10px 20px 12px;
    border-radius: 2px;
    cursor: pointer;
}

.btn-signin:hover {
    background: #0d88c1;
}

.copyright {
    margin: 24px 0 0;
    font-size: 12px;
    color: #969696;
}

.copyright a {
    color: #1495ce;
    text-decoration: none;
}

.copyright a:hover {
    text-decoration: underline;
}

@media (max-width: 640px) {
    .logo {
        font-size: 32px;
    }

    .form-wrap {
        padding: 20px;
    }

    .btn-signin {
        font-size: 20px;
    }
}
