@charset "utf-8";

/* LoginPage.tsx 완벽 재현 - Tailwind 클래스를 CSS로 변환 */

/* 리셋 스타일 */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Tailwind 유틸리티 클래스 재현 */
.min-h-screen {
    min-height: 100vh;
}

.bg-gray-50 {
    background-color: #f9fafb;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.p-4 {
    padding: 1rem;
}

.w-full {
    width: 100%;
}

.max-w-md {
    max-width: 28rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

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

.space-x-3 > * + * {
    margin-left: 0.75rem;
}

.space-y-1 > * + * {
    margin-top: 0.25rem;
}

.space-y-2 > * + * {
    margin-top: 0.5rem;
}

.space-y-4 > * + * {
    margin-top: 1rem;
}

.space-y-3 > * + * {
    margin-top: 0.75rem;
}

.bg-indigo-600 {
    background-color: #522F14;
}

.p-3 {
    padding: 0.75rem;
}

.rounded-xl {
    border-radius: 0.75rem;
}

.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

.font-bold {
    font-weight: 700;
}

.text-white {
    color: #ffffff;
}

.text-gray-900 {
    color: #111827;
}

.text-gray-600 {
    color: #4b5563;
}

.text-gray-500 {
    color: #6b7280;
}

.text-gray-400 {
    color: #9ca3af;
}

/* 카드 스타일 */
.card {
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
}

.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.border-0 {
    border-width: 0;
}

.bg-white {
    background-color: #ffffff;
}

.card-header {
    padding: 1.5rem 1.5rem 1rem;
}

.card-content {
    padding: 0 1.5rem 1.5rem;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #111827;
}

.card-description {
    font-size: 0.875rem;
    color: #6b7280;
}

.pb-4 {
    padding-bottom: 1rem;
}

.pt-4 {
    padding-top: 1rem;
}

/* 폼 요소 스타일 */
.label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: all 0.2s;
    outline: none;
}

.input:focus {
    border-color: #522F14;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.input::placeholder {
    color: #9ca3af;
}

.h-12 {
    height: 3rem;
}

.pr-10 {
    padding-right: 2.5rem;
}

/* 버튼 스타일 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background-color: #522F14;
    color: white;
}
.btn-ghost {
    background: transparent;
    border: none;
    padding: 0;
}

.btn-ghost:hover {
    background: transparent;
}

.btn-link {
    color: #522F14;
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
}

.btn-link:hover {
    text-decoration: underline;
}

.btn-outline {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid;
    background: white;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
    border-radius: 0.375rem;
}

.text-indigo-600 {
    color: #522F14;
}

/* 체크박스 */
.checkbox {
    width: 1rem;
    height: 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.25rem;
    cursor: pointer;
}

/* 위치 관련 */
.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.right-0 {
    right: 0;
}

.top-0 {
    top: 0;
}

.h-full {
    height: 100%;
}

.px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* 아이콘 */
.h-4 {
    height: 1rem;
}

.w-4 {
    width: 1rem;
}

.hidden {
    display: none;
}

/* 구분선 */
.separator {
    height: 1px;
    background: #e5e7eb;
    margin: 1rem 0;
}

/* 텍스트 크기 */
.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}

/* 마진 */
.mt-8 {
    margin-top: 2rem;
}

/* 소셜 로그인 버튼 색상 */
.border-green-200 {
    border-color: #bbf7d0;
}

.text-green-700 {
    color: #15803d;
}

.hover-bg-green-50:hover {
    background-color: #f0fdf4;
}

.bg-green-500 {
    background-color: #22c55e;
}

.border-yellow-200 {
    border-color: #fef08a;
}

.text-yellow-700 {
    color: #a16207;
}

.hover-bg-yellow-50:hover {
    background-color: #fefce8;
}

.bg-yellow-400 {
    background-color: #facc15;
}

.border-blue-200 {
    border-color: #bfdbfe;
}

.text-blue-700 {
    color: #1d4ed8;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .p-4 {
        padding: 1rem;
    }

    .max-w-md {
        max-width: 100%;
    }

    .max-w-lg {
        max-width: 100%;
    }

    .mb-8 {
        margin-bottom: 1.5rem;
    }

    .text-3xl {
        font-size: 1.875rem;
        line-height: 2.25rem;
    }

    .card {
        border-radius: 0.75rem;
    }

    .card-content {
        padding: 1.5rem;
    }

    .card-header {
        padding-bottom: 1rem;
    }

    .space-y-4 > * + * {
        margin-top: 0.875rem;
    }

    .btn {
        font-size: 0.875rem;
    }
}

@media (max-width: 640px) {
    .p-4 {
        padding: 0.75rem;
    }

    .mb-8 {
        margin-bottom: 1rem;
    }

    .text-3xl {
        font-size: 1.5rem;
        line-height: 2rem;
    }

    .text-2xl {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }

    .card-title {
        font-size: 1.25rem;
    }

    .card-content {
        padding: 1.25rem;
    }

    .h-12 {
        height: 2.75rem;
    }

    .p-3 {
        padding: 0.625rem;
    }

    .rounded-xl {
        border-radius: 0.625rem;
    }

    .text-gray-600,
    .card-description {
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .min-h-screen {
        min-height: auto;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .p-4 {
        padding: 0.5rem;
    }

    .text-3xl {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }

    .flex.space-x-3 > * + * {
        margin-left: 0.5rem;
    }

    .card {
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    }

    .card-content {
        padding: 1rem;
    }

    .space-y-4 > * + * {
        margin-top: 0.75rem;
    }

    .space-y-3 > * + * {
        margin-top: 0.625rem;
    }

    .space-y-2 > * + * {
        margin-top: 0.375rem;
    }

    .label {
        font-size: 0.813rem;
    }

    .input {
        font-size: 0.875rem;
        padding: 0.625rem 0.875rem;
    }

    .h-12 {
        height: 2.5rem;
    }

    .btn {
        height: 2.5rem;
        font-size: 0.813rem;
    }

    .text-sm {
        font-size: 0.813rem;
    }

    .text-xs {
        font-size: 0.688rem;
    }

    .mt-8 {
        margin-top: 1.5rem;
    }

    /* 모바일에서 버튼 패딩 조정 */
    .btn-ghost {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

/* 가로 모드 지원 */
@media (max-height: 600px) and (orientation: landscape) {
    .min-h-screen {
        min-height: auto;
    }

    .mb-8 {
        margin-bottom: 0.75rem;
    }

    .card-header {
        padding-bottom: 0.75rem;
    }

    .space-y-4 > * + * {
        margin-top: 0.625rem;
    }

    .mt-8 {
        margin-top: 1rem;
    }
}

/* 아이폰 SE 등 작은 화면 대응 */
@media (max-width: 375px) {
    .text-2xl {
        font-size: 1.125rem;
    }

    .card-title {
        font-size: 1.125rem;
    }

    /* 폼 요소 최적화 */
    .input {
        font-size: 16px; /* iOS 줌 방지 */
    }
}

/* 갤럭시 폴드 등 초소형 화면 */
@media (max-width: 280px) {
    .flex.items-center.justify-center.space-x-3 {
        flex-direction: column;
        gap: 0.5rem;
    }

    .flex.space-x-3 > * + * {
        margin-left: 0;
    }

    .text-3xl {
        font-size: 1.125rem;
    }

    .card {
        border-radius: 0.5rem;
    }

    .card-content {
        padding: 0.75rem;
    }
}

.hover-bg-blue-50:hover {
    background-color: #eff6ff;
}

.bg-blue-500 {
    background-color: #3b82f6;
}

.bg-blue-600 {
    background-color: #2563eb;
}

.border-sky-200 {
    border-color: #bae6fd;
}

.text-sky-700 {
    color: #0369a1;
}

.hover-bg-sky-50:hover {
    background-color: #f0f9ff;
}

.bg-sky-500 {
    background-color: #0ea5e9;
}

.border-red-200 {
    border-color: #fecaca;
}

.text-red-700 {
    color: #b91c1c;
}

.hover-bg-red-50:hover {
    background-color: #fef2f2;
}

.bg-red-500 {
    background-color: #ef4444;
}

/* 소셜 로그인 아이콘 */
.social-icon {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 0.25rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

/* 반응형 */
@media (max-width: 640px) {
    .card-header,
    .card-content {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

