/* 로그인 페이지 전용 스타일 - 프리미엄 디자인 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(197, 165, 114, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(197, 165, 114, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* 좌측상단 로고 */
.logo-link {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    display: block;
    transition: all 0.3s ease;
}

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

.site-logo {
    height: 40px;
    width: auto;
    display: block;
}

.login-container {
    background: white;
    border-radius: 12px;
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(197, 165, 114, 0.1);
    max-width: 480px;
    width: 100%;
    padding: 56px 48px;
    position: relative;
    z-index: 1;
}

.logo {
    text-align: center;
    margin-bottom: 48px;
    position: relative;
}

.logo-image {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.main-logo {
    height: 64px;
    width: auto;
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo p {
    font-size: 15px;
    color: #666;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.logo-tagline {
    font-size: 13px;
    color: #999;
    margin-top: 4px;
    font-style: italic;
}

.alert-info {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-left: 4px solid #C5A572;
    padding: 18px 20px;
    border-radius: 8px;
    margin-bottom: 40px;
    font-size: 13px;
    line-height: 1.7;
    color: #6b5635;
    box-shadow: 0 2px 8px rgba(197, 165, 114, 0.1);
}

.alert-info strong {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
    color: #8b6f47;
    font-size: 14px;
}

.form-group {
    margin-bottom: 28px;
    position: relative;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
    width: 100%;
    padding: 16px 18px;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fafafa;
    font-family: inherit;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus {
    outline: none;
    border-color: #C5A572;
    background: white;
    box-shadow: 
        0 0 0 4px rgba(197, 165, 114, 0.1),
        0 4px 12px rgba(197, 165, 114, 0.15);
    transform: translateY(-1px);
}

.remember-me {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    color: #666;
    user-select: none;
}

.remember-me input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    cursor: pointer;
    accent-color: #C5A572;
}

.remember-me span {
    font-size: 14px;
}

.btn-login {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #C5A572 0%, #B8985E 100%);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 14px rgba(197, 165, 114, 0.4),
        inset 0 -2px 0 rgba(0, 0, 0, 0.1);
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.btn-login::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;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 24px rgba(197, 165, 114, 0.5),
        inset 0 -2px 0 rgba(0, 0, 0, 0.1);
}

.btn-login:hover::before {
    left: 100%;
}

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

.links {
    text-align: center;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid #e8e8e8;
}

.links a {
    color: #C5A572;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
}

.links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #C5A572;
    transition: width 0.3s;
}

.links a:hover {
    color: #B8985E;
}

.links a:hover::after {
    width: 100%;
}

.links a:not(:last-child)::after {
    display: none;
}

.links a:not(:last-child) {
    margin-right: 24px;
    padding-right: 24px;
    border-right: 1px solid #ddd;
}

.divider {
    text-align: center;
    margin: 36px 0 28px 0;
    position: relative;
    color: #999;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: linear-gradient(to right, transparent, #e0e0e0, transparent);
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.btn-social {
    width: 100%;
    padding: 16px;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #2c2c2c;
}

.btn-social:hover {
    border-color: #C5A572;
    background: #fafafa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.btn-social svg {
    flex-shrink: 0;
}

.btn-back {
    text-align: center;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid #e8e8e8;
}

.btn-back a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-back a:hover {
    color: #C5A572;
    transform: translateX(-4px);
}

/* 반응형 */
@media (max-width: 768px) {
    body {
        padding: 15px;
    }

    .logo-link {
        top: 15px;
        left: 15px;
    }
    
    .site-logo {
        height: 36px;
    }
    
    .login-container {
        padding: 44px 32px;
        border-radius: 8px;
    }

    .logo {
        margin-bottom: 40px;
    }

    .main-logo {
        height: 56px;
    }
    
    .logo h1 {
        font-size: 26px;
    }

    .logo p {
        font-size: 14px;
    }

    .logo-tagline {
        font-size: 12px;
    }

    .form-group {
        margin-bottom: 24px;
    }

    .form-group label {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="password"] {
        padding: 14px 16px;
        font-size: 14px;
    }

    .btn-login {
        padding: 16px;
        font-size: 14px;
    }

    .links {
        margin-top: 32px;
        padding-top: 24px;
    }

    .links a {
        font-size: 13px;
    }

    .btn-back {
        margin-top: 32px;
        padding-top: 24px;
    }

    .btn-back a {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .logo-link {
        top: 12px;
        left: 12px;
    }
    
    .site-logo {
        height: 32px;
    }
    
    .login-container {
        padding: 36px 24px;
        border-radius: 6px;
    }

    .logo {
        margin-bottom: 36px;
    }

    .logo-image {
        margin-bottom: 20px;
    }

    .main-logo {
        height: 48px;
    }
    
    .logo h1 {
        font-size: 22px;
        margin-bottom: 6px;
    }

    .logo p {
        font-size: 13px;
        letter-spacing: 1.5px;
    }

    .logo-tagline {
        font-size: 11px;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .form-group label {
        font-size: 11px;
        margin-bottom: 7px;
    }

    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="password"] {
        padding: 12px 14px;
        font-size: 14px;
        border-radius: 6px;
    }

    .remember-me input[type="checkbox"] {
        width: 18px;
        height: 18px;
        margin-right: 10px;
    }

    .remember-me span {
        font-size: 13px;
    }

    .btn-login {
        padding: 14px;
        font-size: 13px;
        border-radius: 6px;
    }

    .links {
        margin-top: 28px;
        padding-top: 20px;
    }

    .links a {
        font-size: 13px;
    }
    
    .links a:not(:last-child) {
        display: block;
        margin: 0 0 12px 0;
        padding: 0;
        border: none;
    }

    .btn-back {
        margin-top: 28px;
        padding-top: 20px;
    }

    .btn-back a {
        font-size: 13px;
        gap: 6px;
    }

    .divider {
        margin: 28px 0 24px 0;
        font-size: 11px;
    }

    .btn-social {
        padding: 14px;
        font-size: 13px;
        gap: 10px;
    }
}

@media (max-width: 360px) {
    .login-container {
        padding: 32px 20px;
    }

    .logo h1 {
        font-size: 20px;
    }

    .main-logo {
        height: 42px;
    }

    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="password"] {
        padding: 11px 12px;
        font-size: 13px;
    }

    .btn-login {
        padding: 13px;
        font-size: 12px;
    }
}





