body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
    z-index: 1;
}

.container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: 24px;
    box-shadow:
            0 20px 40px rgba(0, 0, 0, 0.1),
            0 8px 16px rgba(0, 0, 0, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.8);
    width: 450px;
    text-align: center;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: translateY(0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.container:hover {
    transform: translateY(-5px);
    box-shadow:
            0 25px 50px rgba(0, 0, 0, 0.15),
            0 12px 24px rgba(0, 0, 0, 0.12),
            inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.header {
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease-out;
}

.logo {
    max-width: 120px;
    height: auto;
    margin-bottom: 15px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

h2 {
    color: #2d3748;
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

strong {
    color: #4a5568;
    font-size: 16px;
    display: block;
    margin-bottom: 10px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

h3 {
    color: #2d3748;
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 25px 0;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

input, button, .file-label {
    width: calc(100% - 24px);
    padding: 16px;
    margin: 12px 0;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    display: block;
    text-align: center;
    box-sizing: border-box;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

input {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow:
            0 0 0 3px rgba(102, 126, 234, 0.1),
            0 4px 12px rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
}

.file-label {
    background: linear-gradient(135deg, #f7fafc, #edf2f7);
    color: #4a5568;
    cursor: pointer;
    font-weight: 500;
    border: 2px dashed #cbd5e0;
    animation: fadeInUp 0.8s ease-out 0.8s both;
    transition: all 0.3s ease;
    padding: 20px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.file-label span {
    font-size: 16px;
    font-weight: 600;
}

.file-label small {
    font-size: 12px;
    color: #718096;
    opacity: 0.8;
}

.file-label:hover {
    background: linear-gradient(135deg, #edf2f7, #e2e8f0);
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    animation: fadeInUp 0.8s ease-out 1s both;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 18px;
}

button span {
    font-size: 16px;
    font-weight: 700;
}

button small {
    font-size: 12px;
    opacity: 0.9;
    font-weight: 400;
}

button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

button:hover::before {
    left: 100%;
}

button:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    transform: translateY(-3px);
    box-shadow:
            0 8px 25px rgba(102, 126, 234, 0.3),
            0 4px 12px rgba(102, 126, 234, 0.2);
}

button:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    width: 400px;
    box-shadow:
            0 25px 50px rgba(0, 0, 0, 0.2),
            0 8px 16px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: scaleIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal button {
    margin: 10px 5px;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 14px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e2e8f0;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.error-icon {
    font-size: 60px;
    color: #e53e3e;
    margin: 20px 0;
    animation: bounce 0.6s ease-in-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

button.secondary {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
}

button.secondary:hover {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
}

button.tertiary {
    background: linear-gradient(135deg, #718096 0%, #4a5568 100%);
}

button.tertiary:hover {
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
}

.logo-container {
    text-align: center;
    margin-bottom: 20px;
}

.logo {
    max-width: 150px;
    height: auto;
}

/* 로그인/회원가입 페이지 특화 스타일 */
.container.auth-container {
    max-width: 500px;
    width: 100%;
    animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container.auth-container .header {
    margin-bottom: 40px;
}

.container.auth-container h2 {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.container.auth-container input {
    margin: 15px 0;
    padding: 18px;
    font-size: 16px;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.container.auth-container input:focus {
    border-color: #667eea;
    box-shadow:
            0 0 0 4px rgba(102, 126, 234, 0.1),
            0 8px 25px rgba(102, 126, 234, 0.15);
    transform: translateY(-3px);
}

.container.auth-container button {
    margin: 15px 0;
    padding: 18px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.container.auth-container button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.container.auth-container button:hover::before {
    left: 100%;
}

.container.auth-container button:hover {
    transform: translateY(-4px);
    box-shadow:
            0 12px 35px rgba(102, 126, 234, 0.4),
            0 6px 20px rgba(102, 126, 234, 0.3);
}

.container.auth-container button:active {
    transform: translateY(-2px);
}

/* 진행 상태 표시 */
.progress-bar {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
    position: relative;
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #e2e8f0;
    transform: translateY(-50%);
    z-index: 1;
}

.progress-bar > div {
    background: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #718096;
    border: 2px solid #e2e8f0;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.progress-bar > div.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* 약관 동의 체크박스 */
.terms {
    margin: 20px 0;
    text-align: left;
}

.terms label {
    display: flex;
    align-items: center;
    margin: 10px 0;
    padding: 12px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    color: #4a5568;
}

.terms label:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateX(5px);
}

.terms input[type="checkbox"] {
    margin-right: 12px;
    width: 18px;
    height: 18px;
    accent-color: #667eea;
}

/* 입력 필드 그룹 */
.input-group {
    position: relative;
    margin: 15px 0;
}

.input-group input {
    width: 100%;
    padding: 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

.input-group::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 2;
}

.input-group.email::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23667eea' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
}

.input-group.password::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23667eea' viewBox='0 0 24 24'%3E%3Cpath d='M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z'/%3E%3C/svg%3E");
}

.input-group.name::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23667eea' viewBox='0 0 24 24'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E");
}

.input-group.phone::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23667eea' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E");
}

/* 성공/에러 메시지 */
.message {
    padding: 12px 16px;
    border-radius: 12px;
    margin: 15px 0;
    font-weight: 600;
    animation: slideInDown 0.3s ease-out;
}

.message.success {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 모달 내용 개선 */
.modal-content h3 {
    color: #2d3748;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.modal-content p {
    color: #4a5568;
    font-size: 14px;
    line-height: 1.5;
    margin: 10px 0;
}

.job-info {
    background: rgba(102, 126, 234, 0.05);
    border-radius: 12px;
    padding: 15px;
    margin: 15px 0;
    border-left: 4px solid #667eea;
}

.job-info p {
    margin: 8px 0;
    font-size: 14px;
}

.job-info strong {
    color: #2d3748;
    font-weight: 700;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .container {
        width: 90%;
        padding: 30px 20px;
    }

    .container.auth-container {
        width: 95%;
        padding: 30px 20px;
    }

    h2 {
        font-size: 24px;
    }

    .container.auth-container h2 {
        font-size: 28px;
    }

    input, button, .file-label {
        padding: 14px;
        font-size: 16px;
    }

    .container.auth-container input,
    .container.auth-container button {
        padding: 16px;
        font-size: 16px;
    }
}



