html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    background: #0f1012;
    color: #f4f1ea;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background: radial-gradient(circle at top, #1a1c20 0%, #0f1012 45%);
}

img {
    border: 0;
}

a {
    color: #f4f1ea;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.page-wrap {
    width: 100%;
    min-height: 100vh;
    padding: 30px;
    box-sizing: border-box;
}

.login-box {
    max-width: 1240px;
    margin: 0 auto;
    background: #14161a;
    border: 1px solid #26292f;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.45);
}

.clearfix:after {
    content: "";
    display: block;
    clear: both;
}

.left-panel,
.right-panel {
    float: left;
    width: 50%;
    min-height: 720px;
    box-sizing: border-box;
}

.left-panel {
    border-right: 1px solid #26292f;
    text-align: center;
    background: #121418;
    background-image: radial-gradient(circle at center, rgba(201,162,74,0.08) 0%, rgba(201,162,74,0.02) 28%, transparent 55%);
}

.brand-inner {
    max-width: 520px;
    margin: 0 auto;
    padding: 120px 40px 80px 40px;
}

.logo-block {
    margin-bottom: 30px;
}

.logo-image {
    width: 170px;
    height: auto;
    display: inline-block;
}

.brand-title {
    margin: 0 0 24px 0;
    font-size: 68px;
    line-height: 0.95;
    font-weight: bold;
    letter-spacing: -2px;
    color: #c9a24a;
}

.brand-text {
    margin: 0;
    font-size: 22px;
    line-height: 1.5;
    color: #d8c089;
}

.right-panel {
    background: #14161a;
}

.form-area {
    max-width: 500px;
    padding: 110px 70px 70px 70px;
}

.eyebrow {
    margin-bottom: 16px;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
    color: #c9a24a;
}

.form-title {
    margin: 0 0 14px 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 58px;
    line-height: 1;
    color: #f4f1ea;
}

.form-subtitle {
    margin: 0 0 40px 0;
    font-size: 20px;
    line-height: 1.6;
    color: #a5a7ac;
}

.field {
    margin-bottom: 24px;
}

.field label {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: bold;
    color: #f4f1ea;
}

.field input,
.field textarea {
    width: 100%;
    height: 64px;
    padding: 0 18px;
    box-sizing: border-box;
    border: 1px solid #2b2e35;
    border-radius: 14px;
    background: #101216;
    color: #f4f1ea;
    font-size: 17px;
    outline: none;
}

.field textarea {
    height: auto;
    min-height: 130px;
    padding: 16px 18px;
    resize: vertical;
    font-family: Arial, Helvetica, sans-serif;
}

.field input:focus,
.field textarea:focus {
    border-color: #c9a24a;
}

.password-wrap {
    position: relative;
}

.password-wrap input {
    padding-right: 54px;
}

.toggle-password {
    position: absolute;
    top: 50%;
    right: 16px;
    width: 28px;
    height: 28px;
    margin-top: -14px;
    border: 0;
    background: transparent;
    color: #8f949c;
    cursor: pointer;
    font-size: 18px;
    line-height: 28px;
}

.submit-btn {
    width: 100%;
    height: 66px;
    border: 0;
    border-radius: 14px;
    background: #c9a24a;
    color: #111;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
}

.submit-btn:hover {
    background: #d5b05b;
}

.bottom-links {
    margin-top: 28px;
    font-size: 16px;
    color: #9a9ca1;
}

.bottom-links .gold-link,
.gold-link {
    color: #c9a24a;
}

.bottom-links .sep {
    margin: 0 12px;
    color: #676a70;
}

.error-box,
.success-box {
    margin-bottom: 24px;
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 14px;
}

.error-box {
    background: #3a1f20;
    border: 1px solid #7a3b3d;
    color: #ffd5d5;
}

.success-box {
    background: #183224;
    border: 1px solid #3d7a57;
    color: #d9ffe8;
}

.inner-body {
    min-height: 100vh;
}

.inner-wrap {
    max-width: 860px;
    margin: 0 auto;
    padding: 60px 24px;
}

.inner-card {
    background: #14161a;
    border: 1px solid #26292f;
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

.form-card-small {
    max-width: 620px;
    margin: 0 auto;
}

.inner-logo {
    width: 90px;
    height: auto;
    display: block;
    margin-bottom: 24px;
}

.inner-title {
    margin: 0 0 14px 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 42px;
    line-height: 1.1;
    color: #f4f1ea;
}

.inner-text {
    margin: 0 0 18px 0;
    font-size: 18px;
    line-height: 1.7;
    color: #b4b8bf;
}

.inner-actions {
    margin-top: 26px;
    font-size: 16px;
}

@media screen and (max-width: 980px) {
    .left-panel,
    .right-panel {
        float: none;
        width: 100%;
        min-height: auto;
    }

    .left-panel {
        border-right: 0;
        border-bottom: 1px solid #26292f;
    }

    .brand-inner {
        padding: 60px 30px 50px 30px;
    }

    .form-area {
        padding: 50px 30px 60px 30px;
    }

    .brand-title {
        font-size: 46px;
    }

    .brand-text {
        font-size: 18px;
    }

    .form-title {
        font-size: 42px;
    }

    .form-subtitle {
        font-size: 18px;
    }
}

@media screen and (max-width: 560px) {
    .page-wrap {
        padding: 16px;
    }

    .logo-image {
        width: 120px;
    }

    .brand-title {
        font-size: 36px;
    }

    .form-title,
    .inner-title {
        font-size: 34px;
    }

    .form-area,
    .inner-card {
        padding-left: 22px;
        padding-right: 22px;
    }

    .field input,
    .submit-btn {
        height: 58px;
    }
}

.bottom-links {
    margin-top: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.inline-post-form {
    display: inline;
    margin: 0;
    padding: 0;
}

.link-button {
    appearance: none;
    -webkit-appearance: none;
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
    color: #d8d8d8;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 500;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
}

.link-button:hover,
.link-button:focus {
    color: #ffffff;
    text-decoration: underline;
    outline: none;
}

.gold-link-button {
    color: #c9a24a;
}

.gold-link-button:hover,
.gold-link-button:focus {
    color: #e0ba63;
}

.sep {
    color: rgba(255,255,255,0.35);
    font-size: 14px;
    line-height: 1;
}