﻿body {
    font-family: Arial, sans-serif;
    margin: 0;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 8px;
}

.form-group {
    margin-bottom: 15px;
}

.form-control {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
}

.btn {
    padding: 10px 15px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
}

    .btn:hover {
        background-color: #007bff;
        color: white;
    }

/* 收藏列表样式 */
div#uid_list {
    display: flex;
    flex-direction: row;
}
#uid_list li {
    list-style-type: none;
    display: inline-block;
    padding: 5px;
}
    .favorite-container {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 320px;
    overflow: auto;
    max-height: 88%;
    background: white;
    box-shadow: 0px 0px 86px #000;
    border-radius: 5px;
    padding: 10px;
    z-index: 1000;
    display: none;
}

@media (max-width:480px) {
    .favorite-container {
        /*width: 98%;*/
    }
    div .favorite-list {
        max-height: 100%;
        overflow-y: auto;
    }
}

.favorite-list {
    overflow-y: auto;
}

.favorite-item {
    margin-bottom: 10px;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.favorite-title {
    font-weight: bold;
}

.favorite-cover {
    max-width: 280px;
    max-height: 175px;
    margin-bottom: 5px;
}

.favorite-date {
    color: #666;
    font-size: 0.8em;
    margin-bottom: 5px;
}

.favorite-link {
    color: #007bff;
    text-decoration: none;
    margin-bottom: 5px;
}

.delete-btn {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 3px 8px;
    border-radius: 3px;
    cursor: pointer;
}

    .delete-btn:hover {
        background-color: #c82333;
    }

.favorite-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.page-btn {
    padding: 5px 10px;
    background-color: #6c757d;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

    .page-btn:disabled {
        background-color: #ccc;
        cursor: not-allowed;
    }

.no-favorites {
    text-align: center;
    color: #666;
    padding: 20px;
}

/* 悬浮球样式 */
.toggle-button {
    position: fixed;
    left: 12px;
    bottom: 62px;
    width: 40px;
    height: 40px;
    background-color: #007bff;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1001;
    user-select: none;
    font-size: 20px;
}

    .toggle-button:hover {
        background-color: #0056b3;
    }

.fap-footer btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 2px;
}
