:root {
    --primary-purple: #7b0097;
    --dark-bg: rgba(0, 0, 0, 0.8);
    --text-white: #ffffff;
    --text-gray: #d1d5db;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

html, body{
    width: 100%;
    height: 100%;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
}

a, a:visited {
    text-decoration: none;
    color: #ffffff;
}

a:hover {
    text-decoration: underline;
}

.content {
    width: 100%;
    min-height: 100%;
    padding: 84px 16px 0 16px;
    background-color: #323232;
    background-image: url('/images/bg-auth.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--text-white);
}

.logo img {
    width: 127px;
}

.site-nav {
    position: absolute;
    width: 100%;
    height: 84px;
    background-color: #000;
    color: #ffffff;
    align-items: center;
    align-content: center;
    z-index: 10;
}

.site-nav__wrapper {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-menu__item--active a {
    font-weight: 700;
}

.register-form {
    input {
        width: 320px;
        padding: 8px;
        margin: 8px 0;
        border-radius: 3px;
        border: none;
    }
}

.page-centered {
    display: flex;
    justify-content: center;
    padding-top: 60px;
}

.page-container {
    max-width: 100%;
    width: 100%;
    padding: 0 20px;
    display: flex;
    justify-content: center;
}

.card {
    background-color: var(--dark-bg);
    padding: 60px;
    text-align: left;
    width: 920px;
}

.page-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 16px;
    line-height: 1.2;
}

.page-subtitle {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-white);
    margin-bottom: 16px;
    line-height: 1.2;
}

.page-instruction {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 16px;
    line-height: 1.2;
}

.button {
    display: inline-block;
    background-color: var(--primary-purple);
    color: var(--text-white);
    padding: 10px 24px;
    border: none;
    border-radius: 0;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.button:hover {
    background-color: #661a80;
    text-decoration: none;
}

/* ChangePassword page specific styles */
.content:has(.gradient-overlay) {
    position: relative;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(238, 99, 0, 0.5) 0%, rgba(105, 0, 163, 0.5) 100%), 
                linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%);
    pointer-events: none;
    z-index: 0;
}

.content:has(.gradient-overlay) .page-centered {
    position: relative;
    z-index: 1;
}

.form-input {
    width: 100%;
    padding: 10px 8px;
    border: none;
    border-radius: 0;
    font-size: 16px;
    font-family: 'Open Sans', sans-serif;
}

.form-button {
    margin-top: 24px;
}

.form-error {
    color: #ff0000;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 16px;
}

.form-success {
    color: #34b334;
    font-weight: 700;
    font-size: 16px;
}

.form-label {
    display: block;
    font-weight: 400;
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .page-centered {
        padding-top: 24px;
    }

    .site-nav {
        height: 60px;
        font-size: 14px;
    }

    .nav-menu {
        gap: 16px;
    }
    .logo {
        img {
            width: 90px;
        }
    }
    .card {
        padding: 24px;
    }    
}
