/* Стили для страницы 404 */

.page_404 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    min-height: calc(100vh - 200px);
}

.page_404 img {
    max-width: 100%;
    height: auto;
    margin-bottom: 30px;
    transform: rotate(-90deg);
}

.hmm {
    background: #fff;
    color: #2f4858;
    padding: 20px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 35px;
    text-align: center;
    max-width: 800px;
    line-height: 1.4;
}


/* Для 404 из style_base.css */

.page_44 {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    background: transparent;
}

.hmm {
    max-width: 600px;
    text-align: center;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius, 12px);
    padding: 40px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    color: #161e2c;
    font-size: 1.2rem;
    line-height: 1.6;
    font-weight: 500;
}

.hmm a {
    color: var(--primary-color, #2563eb);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.hmm a:hover {
    color: var(--accent-color, #f97316);
}


/* Стили для страницы профиля */

.profile-container {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    max-width: 600px;
    margin: 0 auto;
    min-height: 200px;
}

.profile-container h2 {
    text-align: center;
    margin-bottom: 32px;
    font-weight: 700;
    font-size: 2.2rem;
    color: #161e2c;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.user-info {
    margin-bottom: 30px;
    line-height: 1.6;
}

.user-info p,
.user-info strong {
    color: #161e2c;
    font-size: 1.05rem;
}

.user-info strong {
    display: block;
    margin-top: 12px;
    margin-bottom: 8px;
    font-weight: 600;
}

.logout-btn {
    display: inline-block;
    padding: 12px 24px;
    background: var(--primary-gradient);
    color: white;
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

.logout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.3);
}

#contact.contact {
    background: transparent;
    padding: 80px 0 60px;
}

#contact h2 {
    margin-bottom: 40px;
    color: #161e2c;
    text-align: center;
    position: relative;
}

#contact h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}


/* Стили для страницы входа/регистрации */

.register {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 80vh;
    padding: 40px 0;
}

.register_container {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
}

.register h2 {
    text-align: center;
    margin-bottom: 32px;
    font-weight: 700;
    font-size: 2.2rem;
    color: var(--dark-color);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

#login_form,
#register_form {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.form_group_reg {
    margin-bottom: 24px;
}

.form_group_reg label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-color);
}

.form_group_reg input[type="text"],
.form_group_reg input[type="email"],
.form_group_reg input[type="password"] {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.5);
    color: var(--dark-color);
    transition: all 0.25s ease;
}

.form_group_reg input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form_group_reg small {
    display: block;
    margin-top: 6px;
    font-size: 0.85rem;
    color: #475569;
}

.form_group_reg label[style*="flex"] {
    margin-bottom: 4px;
}

.form_group_reg label[style*="flex"] span {
    font-weight: 500;
    color: var(--dark-color);
}

#login_form button[type="submit"],
#register_form button[type="submit"] {
    width: 100%;
    padding: 16px;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

#login_form button[type="submit"]:hover,
#register_form button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}

.reg_link {
    text-align: center;
    margin-top: 20px;
}

.reg_link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.reg_link a:hover {
    color: var(--accent-color);
}