@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Pretendard", sans-serif;
}

[v-cloak] {
    display: none;
}

body {
    background-color: #f4f7f9;
    background-image: radial-gradient(#cbd5e1 1.5px, transparent 1.5px);
    background-size: 25px 25px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.login-wrapper {
    width: 100%;
    max-width: 450px;
}

.card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    backdrop-filter: blur(8px);
}

.title {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 30px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.title i {
    color: #3b82f6;
}

.input-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.input-group label {
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 6px;
}

.input-group input {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background-color: #ffffff;
    transition: all 0.2s;
}

.input-group input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

.input-group input[type="file"] {
    padding: 9px 12px;
    background: #f8fafc;
    cursor: pointer;
}

.row {
    display: flex;
    gap: 8px;
}

.btn {
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background-color: #3b82f6;
    color: white;
    width: 100%;
    margin-top: 10px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.btn-primary:hover:not(:disabled) {
    background-color: #2563eb;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
    flex-shrink: 0;
    white-space: nowrap;
}

.btn-secondary:hover:not(:disabled) {
    background-color: #e2e8f0;
}

.btn-default {
    background-color: #f1f5f9;
    color: #64748b;
    width: 100%;
    margin-top: 10px;
}

.btn-default:hover {
    background-color: #e2e8f0;
}

.button-row {
    display: flex;
    gap: 10px;
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.msg-success {
    font-size: 12px;
    color: #10b981;
    font-weight: 600;
    margin-top: 6px;
}

.reset-id {
    color: #3b82f6;
    text-decoration: underline;
    cursor: pointer;
    margin-left: 6px;
}

.footer-links {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
}

.footer-links span {
    cursor: pointer;
    transition: color 0.2s;
}

.footer-links span:hover {
    color: #3b82f6;
}

.divider {
    color: #cbd5e1;
    font-size: 11px;
}

/* ID/PW 찾기 탭 버튼 */
.tab-buttons {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.tab-btn {
    flex: 1;
    padding: 10px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    border-radius: 8px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
}

.tab-btn.active {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

/* -----------------------------------------
   성공 / 에러 메시지 스타일 (비밀번호 불일치 등)
----------------------------------------- */
.msg-success {
    display: block;
    font-size: 12px;
    color: #10b981;
    /* 에메랄드 초록색 */
    font-weight: 600;
    margin-top: 6px;
    text-align: left;
    width: 100%;
}

.msg-error {
    display: block;
    font-size: 12px;
    color: #ef4444;
    /* 예쁜 경고 빨간색 */
    font-weight: 600;
    margin-top: 6px;
    text-align: left;
    width: 100%;
}

.reset-id {
    color: #3b82f6;
    text-decoration: underline;
    cursor: pointer;
    margin-left: 6px;
}

/* 로고를 감싸는 영역 (가운데 정렬 및 아래 여백) */
.logo-container {
    text-align: center;
    /* 아이디 입력칸과의 간격 */
}

/* 실제 로고 이미지 크기 조절 */
.company-logo {
    max-width: 250px;
    /* 로고의 최대 너비 (로고 모양에 따라 120px~200px 사이로 조절하세요) */
    height: auto;
    /* 비율 유지 */
    display: inline-block;
}