/* ========================================
   관리자 로그인 페이지 스타일
   THIS_CAR Admin Login
======================================== */

/* 기본 리셋 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body 스타일 */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* 로그인 컨테이너 */
.login-container {
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 로그인 카드 */
.login-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 40px;
    width: 100%;
}

/* 로고 섹션 */
.logo-section {
    text-align: center;
    margin-bottom: 32px;
}

/* 로고 아이콘 */
.logo-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.logo-icon i {
    font-size: 28px;
    color: #ffffff;
}

/* 회사명 */
.company-name {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

/* 페이지 타이틀 */
.page-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

/* 서브타이틀 */
.page-subtitle {
    font-size: 14px;
    color: #666;
}

/* 에러 메시지 */
.error-message {
    background: #fff5f5;
    border: 1px solid #feb2b2;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.error-message i {
    color: #e53e3e;
    font-size: 16px;
}

.error-message span {
    color: #c53030;
    font-size: 14px;
}

/* 로그인 폼 */
.login-form {
    margin-bottom: 24px;
}

/* 폼 그룹 */
.form-group {
    margin-bottom: 20px;
}

/* 폼 라벨 */
.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.form-label i {
    color: #666;
    font-size: 14px;
}

/* 입력 래퍼 */
.input-wrapper {
    position: relative;
}

/* 비밀번호 입력 래퍼 */
.password-wrapper {
    position: relative;
}

/* 폼 입력 */
.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    color: #333;
    transition: all 0.2s ease;
    background: #f8fafc;
}

.form-input:focus {
    outline: none;
    border-color: #0f3460;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(15, 52, 96, 0.1);
}

.form-input::placeholder {
    color: #a0aec0;
}

/* 비밀번호 토글 버튼 */
.toggle-password {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #a0aec0;
    padding: 4px;
    transition: color 0.2s;
}

.toggle-password:hover {
    color: #333;
}

/* 로그인 버튼 */
.login-button {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 52, 96, 0.3);
}

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

.login-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* 보안 안내 */
.security-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 10px;
    border-left: 4px solid #0f3460;
}

.notice-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notice-icon i {
    color: #ffffff;
    font-size: 16px;
}

.notice-content h4 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.notice-content p {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
}

/* 로그인 푸터 */
.login-footer {
    margin-top: 24px;
    text-align: center;
}

.login-footer p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

/* 반응형 스타일 */
@media (max-width: 480px) {
    .login-card {
        padding: 30px 24px;
    }
    
    .logo-icon {
        width: 56px;
        height: 56px;
    }
    
    .logo-icon i {
        font-size: 24px;
    }
    
    .page-title {
        font-size: 20px;
    }
}
