/* u901au7528u6837u5f0f */

/* u5bb9u5668 */
.container {
    max-width: 750px;
    min-height: 100%;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: #fff;
}

/* u5934u90e8 */
.header {
    height: 50px;
    background-color: #07c160;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 15px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.page-title {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    flex: 1;
}

.back-btn {
    width: 24px;
    height: 24px;
    position: absolute;
    left: 15px;
}

.back-btn svg {
    fill: #fff;
}

.right-btn {
    position: absolute;
    right: 15px;
    font-size: 14px;
}

/* u5185u5bb9u533a */
.content {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
}

/* u5e95u90e8u5bfcu822a */
.footer {
    height: 50px;
    background-color: #fff;
    border-top: 1px solid #eee;
    display: flex;
    position: sticky;
    bottom: 0;
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #666;
    padding: 5px 0;
}

.nav-item.active {
    color: #07c160;
}

.nav-item.active svg {
    fill: #07c160;
}

.nav-icon {
    height: 24px;
    width: 24px;
    margin-bottom: 2px;
}

.nav-icon svg {
    fill: #666;
}

.nav-text {
    font-size: 12px;
}

/* u6309u94ae */
.btn {
    display: inline-block;
    padding: 8px 16px;
    background-color: #07c160;
    color: #fff;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn:active {
    background-color: #06ad56;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid #07c160;
    color: #07c160;
}

/* u8868u5355 */
.form-group {
    margin-bottom: 15px;
}

.form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

/* u5361u7247 */
.card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    overflow: hidden;
}

.card-header {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-body {
    padding: 15px;
}

.card-footer {
    padding: 12px 15px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* u5217u8868 */
.list {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.list-item {
    padding: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.list-item:last-child {
    border-bottom: none;
}

/* u5934u50cf */
.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #eee;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* u5f39u7a97 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    width: 80%;
    max-width: 320px;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.modal-header {
    padding: 15px;
    border-bottom: 1px solid #eee;
    font-weight: bold;
    text-align: center;
}

.modal-body {
    padding: 15px;
}

.modal-footer {
    padding: 10px 15px;
    border-top: 1px solid #eee;
    display: flex;
}

.modal-btn {
    flex: 1;
    padding: 8px 0;
    text-align: center;
    cursor: pointer;
}

.modal-btn:not(:last-child) {
    border-right: 1px solid #eee;
}

/* u52a0u8f7du4e2du6837u5f0f */
.loading {
    text-align: center;
    padding: 20px 0;
    color: #999;
}

.loading-spinner {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: #07c160;
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 5px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* u63d0u793au6846 */
.toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    z-index: 1001;
    max-width: 80%;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.toast.show {
    opacity: 1;
    visibility: visible;
}

/* u5206u9875 */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.page-item {
    margin: 0 5px;
}

.page-link {
    display: block;
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
}

.page-item.active .page-link {
    background-color: #07c160;
    color: #fff;
    border-color: #07c160;
}

/* u6807u7b7eu9875 */
.tabs {
    display: flex;
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
}

.tab-item {
    padding: 10px 15px;
    cursor: pointer;
    position: relative;
}

.tab-item.active {
    color: #07c160;
}

.tab-item.active:after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #07c160;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}
