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

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #fff;
    color: #262c36;
    font-size: 14px;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Top Bar */
.top-bar {
    background: #F3F5F8;
    border-bottom: 1px solid #f5f5f5;
}

.top-bar-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 28px;
    padding: 0 40px;
}

.lang-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.lang-selector span {
    color: #ccc;
}

.lang-selector .lang-link {
    color: #888;
    transition: color 0.2s;
}

.lang-selector .lang-link:hover,
.lang-selector .lang-link.active {
    color: #1979ff;
    font-weight: 500;
}

.top-bar-links {
    display: flex;
    align-items: center;
    gap: 0;
}

.top-bar-links a {
    font-size: 13px;
    color: #666;
    padding: 0 14px;
    position: relative;
}

.top-bar-links a:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 10px;
    background: #ddd;
}

.top-bar-links a:hover {
    color: #262c36;
}

/* Main Header */
.main-header {
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
}

.main-header-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    height: 60px;
    padding: 0 40px;
}

.gnb-menu-left {
    display: flex;
    align-items: center;
    flex: 1;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    height: 24px;
}

.main-nav {
    display: flex;
    align-items: center;
    margin-left: 48px;
}

.main-nav a {
    font-size: 15px;
    color: #262c36;
    font-weight: 400;
    padding: 0 18px;
    white-space: nowrap;
    transition: color 0.2s;
}

.main-nav a:hover {
    color: #1979ff;
}

.gnb-menu-right {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header-icons {
    display: flex;
    align-items: center;
}

.header-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    cursor: pointer;
    padding: 0 16px;
}

.header-icon img {
    width: 22px;
    height: 22px;
}

.header-icon:first-child img {
    width: 18px;
    height: 18px;
}

.header-icon span {
    font-size: 11px;
    color: #666;
    white-space: nowrap;
}

.header-icon:hover span {
    color: #262c36;
}

/* Login Container */
.login-container {
    max-width: 460px;
    margin: 0 auto;
    padding: 60px 20px 80px;
}

.login-title {
    text-align: center;
    font-size: 32px;
    font-weight: 500;
    color: #262c36;
    margin-bottom: 12px;
}

.login-subtitle {
    text-align: center;
    font-size: 14px;
    color: #888;
    margin-bottom: 40px;
}

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

.form-input {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    color: #262c36;
    outline: none;
    transition: border-color 0.2s;
}

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

.form-input:focus {
    border-color: #1979ff;
}

/* Remember ID */
.remember-section {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 16px 0 24px;
}

.custom-checkbox {
    width: 18px;
    height: 18px;
    border: 1px solid #ccc;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.custom-checkbox.checked {
    background: #1979ff;
    border-color: #1979ff;
}

.custom-checkbox.checked::after {
    content: '✓';
    color: #fff;
    font-size: 12px;
}

.remember-label {
    font-size: 14px;
    color: #666;
    cursor: pointer;
}

/* Login Button */
.login-btn {
    width: 100%;
    height: 56px;
    background: #1979ff;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.login-btn:hover {
    background: #0d6efd;
}

/* Social Login */
.social-login {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin: 40px 0;
}

.social-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.social-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.social-icon:hover {
    transform: scale(1.05);
}

.social-icon.google {
    background: #f8f8f8;
}

.social-icon.naver {
    background: #1ec800;
}

.social-icon.kakao {
    background: #f5d60b;
}

.social-item span {
    font-size: 12px;
    color: #666;
}

/* Help Links */
.help-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 20px 0;
    border-top: 1px solid #e5e5e5;
}

.help-links a {
    font-size: 13px;
    color: #666;
}

.help-links a:hover {
    color: #262c36;
}

.help-links span {
    color: #ddd;
}

/* Extension Button */
.extension-btn {
    width: 100%;
    height: 52px;
    background: #fff;
    color: #666;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.2s;
}

.extension-btn:hover {
    border-color: #ccc;
    color: #262c36;
}

/* Footer */
.footer {
    background: #fff;
    border-top: 1px solid #e5e5e5;
    padding: 50px 0 40px;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 28px;
    border-bottom: 1px solid #e5e5e5;
}

.footer-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.footer-logo {
    font-size: 22px;
    font-weight: bold;
    color: #262c36;
}

.footer-nav a {
    font-size: 14px;
    color: #666;
}

.footer-nav a.highlight {
    color: #1979ff;
    font-weight: 500;
}

.footer-nav a:hover {
    color: #262c36;
}

.footer-family {
    display: flex;
    gap: 12px;
}

.family-select {
    padding: 10px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    color: #666;
    background: #fff;
    cursor: pointer;
    min-width: 140px;
}

.family-btn {
    padding: 10px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    color: #666;
    background: #fff;
    cursor: pointer;
}

.family-btn:hover {
    border-color: #ccc;
}

/* Footer Info */
.footer-info {
    padding: 28px 0;
    font-size: 13px;
    color: #888;
    line-height: 2;
}

.footer-info p {
    margin-bottom: 6px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.footer-social a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 15px;
}

.footer-social a:hover {
    background: #666;
}

.footer-copyright {
    font-size: 13px;
    color: #888;
    margin-top: 20px;
}

.footer-badges {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.footer-badge {
    height: 32px;
    opacity: 0.6;
}

.footer-badge-text {
    font-size: 12px;
    color: #999;
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
