* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
}

.site-header {
    background-color: #00779C;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 24px;
}

.site-title {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
}

.site-title a {
    color: #ffffff;
    text-decoration: none;
}

.site-title a:hover {
    text-decoration: underline;
}

.site-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.site-nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 400;
}

.site-nav a:hover {
    text-decoration: underline;
}

.site-footer {
    background-color: #00779C;
    height: 60px;
    position: fixed;
    bottom: 0;
    width: 100%;
}

/* Main content area */
.container {
    max-width: 600px;
    margin: 20px auto;
    padding: 0 20px 120px 20px;
    min-height: calc(100vh - 100px);
}

/* Page title */
h2 {
    color: #00779C;
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.auth-main {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    padding: 0 16px;
    flex: 1;
    min-height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
}

.auth-title {
    margin: 30px 0 14px;
    color: #00779c;
    font-size: 62px;
    line-height: 1;
    letter-spacing: 2px;
    text-align: center;
}

.auth-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-message {
    margin: 0 auto 16px;
    width: 100%;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 600;
}

.auth-message.error {
    background-color: #ffdfe1;
    color: #8a1420;
}

.auth-form {
    display: flex;
    flex-direction: column;
    width: 120%;
    max-width: 450px;
    margin: 0 auto;
}

.auth-form label {
    margin: 12px 0 7px;
    color: #00779c;
    font-size: 22px;
    line-height: 1.4;
}

.auth-form input {
    background-color: #ffffff;
    width: 100%;
    border: 1px solid #6f6f6f;
    border-radius: 999px;
    height: 60px;
    padding: 0 10px;
    font-size: 18px;
    outline: none;
}

.auth-form input:focus {
    border-color: #00779c;
    box-shadow: 0 0 0 3px rgba(0, 119, 156, 0.16);
}

.auth-submit {
    margin-top: 16px;
    height: 60px;
    width: 100%;
    border: 1px solid #015d7c;
    border-radius: 999px;
    background-color: #00779c;
    color: #ffffff;
    font-size: 24px;    
    cursor: pointer;
}

.auth-submit:hover {
    background-color: #006789;
}

.auth-switch {
    margin: 20px 0 0;
    text-align: center;
    font-size: 16px;
}

.auth-switch a {
    color: #1686e0;
    text-decoration: none;
}

.auth-switch a:hover {
    text-decoration: underline;
}

.site-footer {
    background-color: #00779c;
    height: 60px;
    width: 100%;
    position: fixed;
    left: 0;
    bottom: 0;
}

@media (max-width: 1100px) {
    .auth-main {
        max-width: 500px;
    }
}

@media (max-width: 700px) {
    .auth-title {
        font-size: 50px;
    }

    .auth-form {
        max-width: 330px;
    }

    .auth-form label {
        font-size: 19px;
    }

    .auth-form input,
    .auth-submit {
        height: 46px;
        font-size: 16px;
    }

    .auth-submit {
        font-size: 20px;
    }
}

