.auth-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #0F2640 0%, #1A3A5C 40%, #2B5797 100%);
    position: relative;
    overflow: hidden;
}

.auth-wrapper::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: rgba(46, 125, 50, 0.07);
}

.auth-wrapper::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(43, 87, 151, 0.1);
}

.auth-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 520px;
    padding: 0 24px;
}

.auth-box {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.auth-header {
    padding: 48px 48px 0 48px;
    text-align: center;
}

.auth-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 12px;
}

.auth-logo-icon {
    width: 52px;
    height: 52px;
}

.auth-logo-text {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.auth-subtitle {
    font-size: 22px;
    color: var(--gray-500);
    margin-top: 10px;
    letter-spacing: -0.3px;
}

.auth-body {
    padding: 36px 48px 28px 48px;
}

.auth-body .form-group {
    margin-bottom: 22px;
}

.auth-body .form-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.auth-body .form-input {
    height: 52px;
    font-size: 16px;
    padding: 0 16px;
    border-radius: 10px;
    border: 1.5px solid var(--gray-300);
}

.auth-body .form-input:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 4px rgba(43, 87, 151, 0.1);
}

.auth-body .form-input::placeholder {
    font-size: 15px;
    color: var(--gray-400);
}

.login-btn-group {
    margin-top: 32px;
}

.btn-login {
    height: 56px !important;
    font-size: 18px !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 14px rgba(26, 58, 92, 0.35);
    transition: background-color 0.2s, transform 0.15s, box-shadow 0.2s !important;
}

.btn-login:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(26, 58, 92, 0.45) !important;
}

.btn-login:active {
    transform: translateY(0);
}

.auth-footer {
    padding: 0 48px 40px 48px;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: var(--gray-200);
}

.auth-divider span {
    font-size: 13px;
    color: var(--gray-400);
    white-space: nowrap;
}

.btn-signup {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 56px;
    padding: 0 24px;
    background: linear-gradient(135deg, #2E7D32 0%, #388E3C 50%, #43A047 100%);
    border: none;
    border-radius: 12px;
    color: var(--white);
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(46, 125, 50, 0.4);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
}

.btn-signup::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
    pointer-events: none;
}

.btn-signup svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.btn-signup-arrow {
    margin-left: auto;
    width: 18px !important;
    height: 18px !important;
    opacity: 0.8;
    transition: transform 0.2s;
}

.btn-signup:hover {
    opacity: 0.92;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.5);
    text-decoration: none;
    color: var(--white);
}

.btn-signup:hover .btn-signup-arrow {
    transform: translateX(4px);
}

.btn-signup:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(46, 125, 50, 0.3);
}

.auth-error-msg {
    padding: 14px 18px;
    background-color: #FFEBEE;
    border: 1px solid #FFCDD2;
    border-radius: 10px;
    color: var(--error);
    font-size: 15px;
    margin-bottom: 20px;
    display: none;
}

.auth-error-msg.show {
    display: block;
}

/* =============================================
   회원가입 페이지
   ============================================= */

.signup-container {
    max-width: 560px;
    padding-top: 32px;
    padding-bottom: 32px;
}

.signup-steps {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
    padding: 20px 48px 0 48px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--font-size-xs);
    color: var(--gray-400);
}

.step-item.active {
    color: var(--primary);
    font-weight: 600;
}

.step-item.done {
    color: var(--success);
}

.step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 600;
    background-color: var(--gray-200);
    color: var(--gray-500);
}

.step-item.active .step-num {
    background-color: var(--primary);
    color: var(--white);
}

.step-item.done .step-num {
    background-color: var(--success);
    color: var(--white);
}

.step-arrow {
    color: var(--gray-300);
    font-size: 10px;
    margin: 0 4px;
}

.form-row {
    display: flex;
    gap: 12px;
}

.form-row .form-group {
    flex: 1;
}

.form-input-wrap {
    display: flex;
    gap: 8px;
}

.form-input-wrap .form-input {
    flex: 1;
}

.password-strength {
    display: flex;
    gap: 4px;
    margin-top: 6px;
}

.password-strength-bar {
    flex: 1;
    height: 3px;
    border-radius: 2px;
    background-color: var(--gray-200);
    transition: background-color 0.3s;
}

.password-strength-bar.weak { background-color: var(--error); }
.password-strength-bar.medium { background-color: var(--warning); }
.password-strength-bar.strong { background-color: var(--success); }

.company-search-result {
    max-height: 160px;
    overflow-y: auto;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    margin-top: 4px;
    display: none;
}

.company-search-result.show {
    display: block;
}

.company-item {
    padding: 10px 12px;
    cursor: pointer;
    border-bottom: 1px solid var(--gray-100);
    font-size: var(--font-size-sm);
}

.company-item:last-child {
    border-bottom: none;
}

.company-item:hover {
    background-color: var(--gray-50);
}

.company-item-name {
    font-weight: 500;
    color: var(--gray-800);
}

.company-item-no {
    font-size: var(--font-size-xs);
    color: var(--gray-500);
    margin-top: 2px;
}

.signup-btn-group {
    margin-top: 24px;
}

.signup-complete {
    display: none;
    text-align: center;
    padding: 48px 36px;
}

.signup-complete-title {
    margin-top: 20px;
    color: var(--gray-800);
}

.signup-complete-desc {
    margin-top: 8px;
    color: var(--gray-500);
    font-size: var(--font-size-sm);
}

.signup-complete-action {
    margin-top: 24px;
}

.auth-links {
    text-align: center;
}

.auth-links a {
    font-size: var(--font-size-sm);
    color: var(--gray-500);
}
