html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* 新增样式 */
.user-management {
    padding: 20px 0;
}

.action-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    border-radius: 0.2rem;
}

.table-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    overflow: hidden;
}

.table-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 8px 8px 0 0;
}

    .table-header h5 {
        margin: 0;
        font-weight: 600;
    }

.search-box {
    max-width: 400px;
}

    .search-box .input-group {
        border-radius: 6px;
        overflow: hidden;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.status-active {
    background-color: #d4edda;
    color: #155724;
}

.status-locked {
    background-color: #f8d7da;
    color: #721c24;
}

.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px 0;
}

.page-info {
    font-size: 14px;
    color: #6c757d;
}

.jump-input {
    width: 60px;
    text-align: center;
    border: 1px solid #dee2e6;
    border-radius: 4px;
}

.action-link {
    padding: 2px 6px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

    .action-link:hover {
        background-color: #f8f9fa;
        text-decoration: none;
    }

    .action-link.edit {
        color: #28a745;
    }

        .action-link.edit:hover {
            color: #218838;
            background-color: #d4edda;
        }

    .action-link.role {
        color: #007bff;
    }

        .action-link.role:hover {
            color: #0056b3;
            background-color: #cce5ff;
        }

    .action-link.reset {
        color: #ffc107;
    }

        .action-link.reset:hover {
            color: #e0a800;
            background-color: #fff3cd;
        }

    .action-link.delete {
        color: #dc3545;
    }

        .action-link.delete:hover {
            color: #c82333;
            background-color: #f8d7da;
        }

/* 响应式调整 */
@media (max-width: 768px) {
    .table-responsive {
        font-size: 14px;
    }

    .action-buttons {
        flex-direction: column;
        gap: 4px;
    }

    .pagination-container {
        flex-direction: column;
        text-align: center;
    }
}


