/* ========================================
   ORYX TRANSPORT LOGIN
======================================== */

:root {
    --oryx-orange: #c65308;
    --oryx-orange-dark: #a84200;
    --oryx-text: #292929;
    --oryx-muted: #6f6f6f;
    --oryx-line: #ddd3cc;
    --oryx-background: #f7f5f3;
}

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
}

body {
    color: var(--oryx-text);
    background: var(--oryx-background);
    font-family: Arial, "Malgun Gothic", sans-serif;
    -webkit-text-size-adjust: 100%;
}

button,
input {
    font: inherit;
}


/* ========================================
   전체 로그인 영역
======================================== */

.oryx-login {
    display: flex;
    justify-content: center;
    width: 100%;
    min-height: 100vh;
    background: var(--oryx-background);
}


/* ========================================
   로그인 패널
======================================== */

.login-panel {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 520px;
    min-height: 100vh;
    padding: 38px 50px 26px;
    background: #fff;
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.05);
}


/* ========================================
   첫 화면 링크
======================================== */

.login-panel .back {
    align-self: flex-start;
    color: #777;
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
}

.login-panel .back:hover {
    color: var(--oryx-orange);
}


/* ========================================
   로그인 입력 영역
======================================== */

.login-form {
    width: 100%;
    margin: auto 0;
}

.login-form .eyebrow {
    display: block;
    margin-bottom: 20px;
    color: var(--oryx-orange);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.login-form h2 {
    margin: 0 0 14px;
    color: var(--oryx-text);
    font-size: 34px;
    line-height: 1.25;
    letter-spacing: -1.5px;
}

.login-form > p {
    margin: 0;
    color: var(--oryx-muted);
    font-size: 15px;
    line-height: 1.7;
}

.login-form form {
    margin-top: 30px;
}

.login-form label {
    display: block;
    margin: 20px 0 9px;
    color: var(--oryx-text);
    font-size: 14px;
    font-weight: 700;
}

.login-form input {
    display: block;
    width: 100%;
    height: 54px;
    border: 1px solid var(--oryx-line);
    border-radius: 6px;
    padding: 0 15px;
    color: var(--oryx-text);
    background: #fff;
    font-size: 16px;
    outline: none;
    appearance: none;
}

.login-form input:hover {
    border-color: #c6b8af;
}

.login-form input:focus {
    border-color: var(--oryx-orange);
    box-shadow: 0 0 0 3px rgba(198, 83, 8, 0.1);
}


/* ========================================
   로그인 버튼
======================================== */

.login-form .button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 54px;
    margin-top: 28px;
    border: 0;
    border-radius: 5px;
    color: #fff;
    background: var(--oryx-orange);
    font-weight: 700;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.login-form .button:hover {
    background: var(--oryx-orange-dark);
}

.login-form .button:active {
    transform: translateY(1px);
}


/* ========================================
   로그인 안내
======================================== */

.login-form .login-note {
    margin: 22px 0 !important;
    color: #777;
    font-size: 13px;
    line-height: 1.8;
}


/* ========================================
   PWA 설치 버튼
======================================== */

.install-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    border: 1px solid var(--oryx-orange);
    border-radius: 5px;
    padding: 10px 16px;
    color: var(--oryx-orange);
    background: #fff;
    font-weight: 500;
    cursor: pointer;
    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}

.install-button:hover {
    color: #fff;
    background: var(--oryx-orange);
}

.install-button[hidden] {
    display: none;
}

.install-help {
    min-height: 20px;
    margin: 10px 0 0 !important;
    color: #777 !important;
    font-size: 12px !important;
    line-height: 1.6;
    text-align: center;
}


/* ========================================
   하단 저작권
======================================== */

.panel-footer {
    display: block;
    margin-top: 30px;
    color: #777;
    font-size: 12px;
}


/* ========================================
   태블릿·모바일
======================================== */

@media (max-width: 600px) {
    .oryx-login {
        background: #fff;
    }

    .login-panel {
        max-width: none;
        padding: 28px 25px 22px;
        box-shadow: none;
    }

    .login-form {
        margin: 75px 0 auto;
    }

    .login-form h2 {
        font-size: 32px;
    }

    .login-form input,
    .login-form .button {
        height: 54px;
    }

    .panel-footer {
        margin-top: 45px;
    }
}


/* 작은 모바일 */

@media (max-width: 360px) {
    .login-panel {
        padding-right: 20px;
        padding-left: 20px;
    }

    .login-form {
        margin-top: 50px;
    }

    .login-form h2 {
        font-size: 29px;
    }
}

/* PWA 홈 화면 설치 버튼 */
.install-button {
    display: block;
    width: 100%;
    height: 48px;
    margin-top: 12px;
    padding: 0 18px;

    border: 1px solid #c65308;
    border-radius: 8px;

    background: #fff;
    color: #c65308;

    font-size: 14px;
    font-weight: 600;
    line-height: 46px;
    text-align: center;

    cursor: pointer;
    box-sizing: border-box;

    transition: all 0.2s ease;
}

.install-button:hover {
    background: #fff7f1;
    border-color: #f58220;
    color: #f58220;
}

.install-button:active {
    transform: translateY(1px);
}

/* 설치 안내 문구 */
.install-help {
    margin: 8px 0 0;
    padding: 0;

    color: #888;
    font-size: 12px;
    line-height: 1.6;
    text-align: center;
}

/* 모바일 */
@media (max-width: 768px) {
    .install-button {
        height: 46px;
        margin-top: 10px;

        font-size: 13px;
        line-height: 44px;
    }

    .install-help {
        font-size: 11px;
    }
}