@charset "utf-8";
/* CSS Document */

/* ===== Notification Styles ===== */
.notification {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 280px;
    max-width: 360px;
    padding: 14px 18px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.4;
    color: #fff;
    background-color: #333;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translate(-50%, -60%);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 10000;
}

/* 显示状态 */
.notification.show {
    opacity: 1;
    transform: translate(-50%, -50%);
}

/* 类型 */
.notification-success {
    background-color: #28a745;
}

.notification-error {
    background-color: #dc3545;
}

.notification-info {
    background-color: #17a2b8;
}

/* ===== Loading Overlay Styles ===== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

.loading-text {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

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

/* ===== Bottom Navigation Styles ===== */
:root {
    --nav-height: 56px;
    --white: #ffffff;
    --dark-gray: #666666;
    --primary-color: #ff5a5f;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
    z-index: 100;
    height: var(--nav-height);
}

/* Old style class names */
/* .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--dark-gray);
    font-size: 12px;
    flex: 1;
}

.nav-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.nav-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.nav-item.active, 
.nav-item:hover {
    color: var(--primary-color);
} */

/* New style class names with -bottom suffix */
.nav-item-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--dark-gray);
    font-size: 12px;
    flex: 1;
    transition: color 0.2s;
}

.nav-icon-bottom {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.nav-icon-bottom svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.nav-item-bottom.active,
.nav-item-bottom:hover {
    color: var(--primary-color);
}