﻿:root {
    --ship-primary: #001f3f;
    --ship-secondary: #003366;
    --ship-bg: #f5f5f5;
    --ship-card: #ffffff;
    --ship-muted: #64748b;
}

body {
    font-family: "Public Sans", sans-serif;
    background: var(--ship-bg);
    min-height: 100vh;
}

.signup-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.signup-card {
    width: 100%;
    max-width: 900px;
    background: #fff;
    border: 1px solid var(--ship-border);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 20px 34px rgba(0, 31, 63, 0.08);
}

.signup-form-wrap {
    padding: 1.5rem;
}

@media (min-width: 576px) {
    .signup-form-wrap {
        padding: 2.2rem;
    }
}

.signup-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
}

.signup-subtitle {
    font-size: 0.9rem;
    color: var(--ship-muted);
}

.field-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 0.35rem;
}

.ship-select {
    height: 46px;
    border-radius: 0.2rem;
    border: 1px solid #cbd5e1;
    background: #fff;
    font-size: 0.95rem;
    color: #0f172a;
}

    .ship-select:focus {
        border-color: var(--ship-primary);
        box-shadow: 0 0 0 0.2rem rgba(0, 31, 63, 0.14);
    }

.photo-pane {
    position: relative;
    min-height: 340px;
    height: 100%;
    background: #cbd5e1;
}

@media (min-width: 992px) {
    .photo-pane {
        min-height: 100%;
    }
}

.photo-pane img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 31, 63, 0.86), rgba(0, 31, 63, 0.38), rgba(0, 31, 63, 0.08));
}

.photo-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    color: #fff;
    padding: 1.5rem;
}

.photo-kicker {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.82;
}

.photo-title {
    margin-top: 0.5rem;
    margin-bottom: 0.35rem;
    font-size: 1.55rem;
    font-weight: 900;
    line-height: 1.2;
}

.photo-text {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

/* 추가 */
.input-wrap {
    position: relative;
}

/* 버튼을 input 안쪽에 겹치기 */
#btnCheckUserId {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    height: 36px;
    padding: 0 10px;
    font-size: 12px;
    z-index: 2;
}

.eye-btn {
    position: absolute;
    top: 50%;
    right: 0.65rem;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #94a3b8;
    padding: 0.2rem;
    line-height: 1;
}

    .eye-btn:hover {
        color: #475569;
    }

.error-text {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 4px;
    display: none;
}

/* 비밀번호 가이드 */
.password-guide {
    font-size: 0.8rem;
    color: #6c757d;
}

.guide-item.valid {
    color: #28a745;
}


.pw-tooltip {
    position: absolute;
    top: 60px;
    left: 0;
    width: 250px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 999;
    font-size: 0.8rem;
    pointer-events: none;
}

    .pw-tooltip div {
        color: #6c757d;
    }

    .pw-tooltip .valid {
        color: #28a745;
    }

.d-none {
    display: none;
}

