.test-indicator {
    background: #dc3545;
    color: white;
    text-align: center;
    padding: 8px;
    font-weight: bold;
    font-size: 14px;
}

.test-indicator ~ * {
    /* margin-top: 40px; */
}

/* モック認証パネル Panel xác thực giả lập*/
.test-auth-panel {
    position: fixed;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000000002;
    width: calc(100% - 40px);
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border: 2px solid #ffc107;
    padding: 25px;
    /* margin: 20px; */
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.test-auth-panel h3 {
    color: #856404;
    margin: 0 0 15px 0;
    font-size: 1.2em;
}

.mock-login-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-mock-login {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 180px;
}

.btn-mock-login:hover {
    background: linear-gradient(135deg, #218838, #1a9b84);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

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

/* 認証メッセージ Thông báo xác thực*/
.auth-message {
    position: fixed;
    top: 50px;
    right: 20px;
    z-index: 10000;
    padding: 12px 20px;
    border-radius: 6px;
    color: white;
    font-weight: bold;
    animation: slideIn 0.3s ease-out;
}

.auth-message-success {
    background: #28a745;
}

.auth-message-error {
    background: #dc3545;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ログイン状態表示 Hiển thị trạng thái login*/
.auth-status {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000000002;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 15px;
    margin: 20px;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.auth-status .user-info {
    font-weight: bold;
}

.btn-logout {
    background: #dc3545;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-logout:hover {
    background: #c82333;
}

/* レスポンシブ対応 Đáp ứng responsive */
@media (max-width: 768px) {
    .mock-login-buttons {
        flex-direction: column;
    }

    .btn-mock-login {
        min-width: auto;
    }

    .auth-status {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

.mock-auth-head {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000000003;
    cursor: pointer;
}
.mock-auth-head::before,
.mock-auth-head::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 40px;
    transform: translateY(-50%);
    width: 20px;
    height: 2px;
    background-color: #fff;
}
.mock-auth-head::after {
    transform: translateY(-50%) rotate(90deg);
}
.mock-auth-head.active::after {
    opacity: 0;
}
.mock-auth-content {
    display: none;
}
