/* 로고 스타일 */
.logo-container,
.logo-area {
    display: flex;
    align-items: center;
}

.logo {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    margin-right: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: var(--primary-color);
}

.logo img {
    max-width: 100%;
    max-height: 100%;
}

.logo-text {
    font-size: 18px;
    font-weight: 700;
    color: #111;
}

/* ===== 헤더/네비게이션 ===== */
.header,
.tubelab-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: #FFFFFF;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center; /* 가운데 정렬 추가 */
    padding: 0 20px;
    transition: all 0.3s;
}

/* ===== 모바일 반응형 ===== */

/* 태블릿 */
@media (max-width: 992px) {
    .header,
    .tubelab-header {
        padding: 0 16px;
    }
}

/* 모바일 가로 */
@media (max-width: 768px) {
    .header,
    .tubelab-header {
        padding: 0 12px;
    }

    .logo-text {
        font-size: 16px;
    }
}

/* 모바일 가로 (768px) */
@media (max-width: 768px) {
    .header,
    .tubelab-header {
        height: 56px;
    }

    .auth-container {
        max-width: 480px;
        width: 90%;
        margin: 32px auto;
        padding: 32px 24px;
        border-radius: 16px;
    }

    .auth-title {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .auth-description {
        font-size: 14px;
        color: #888;
        line-height: 1.6;
        margin-bottom: 28px;
    }

    /* 입력 필드 - 네이티브 스타일 */
    .auth-form input[type="text"],
    .auth-form input[type="email"] {
        width: 100%;
        font-size: 16px;
        min-height: 48px;
        padding: 14px 16px;
        border-radius: 10px;
        border: 1.5px solid #e0e0e0;
        background-color: #fafafa;
        transition: all 0.2s ease;
    }

    .auth-form input[type="text"]:focus,
    .auth-form input[type="email"]:focus {
        background-color: #fff;
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(255, 80, 80, 0.08);
    }

    .form-label {
        font-size: 13px;
        font-weight: 600;
        color: #555;
        margin-bottom: 6px;
    }

    /* 버튼 - 크고 둥글게 */
    .auth-form .btn {
        width: 100%;
        min-height: 52px;
        font-size: 16px;
        font-weight: 600;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(255, 80, 80, 0.25);
    }

    .auth-form .btn:active {
        transform: scale(0.98);
    }

    /* 하단 링크 */
    .auth-links a {
        color: var(--primary-color);
        font-weight: 600;
    }
}

/* 모바일 세로 (480px) */
@media (max-width: 480px) {
    .header,
    .tubelab-header {
        padding: 0 12px;
        height: 50px;
    }

    .logo-text {
        font-size: 15px;
    }

    /* 컨테이너 - edge-to-edge 풀 화면 */
    .auth-container {
        width: 100%;
        padding: 28px 20px;
        margin: 0 auto;
        border-radius: 0;
        box-shadow: none;
        border: none;
        min-height: calc(100vh - 50px);
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .auth-title {
        font-size: 24px;
        font-weight: 700;
    }

    .auth-description {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .auth-form input[type="text"],
    .auth-form input[type="email"] {
        min-height: 52px;
        border-radius: 12px;
        padding: 16px;
    }

    .auth-form .btn {
        min-height: 54px;
        border-radius: 14px;
        font-size: 17px;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .auth-links {
        margin-top: 32px;
    }
}