.adjust{
    display: none;
}

.reacts{
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

  .pagination-btn.active {
    background-color: skyblue;
    color: white;
    font-weight: bold;
    border-radius: 4px;
    padding: 0.5rem 1rem;
  }


  .pagination-btn.disabled {
    pointer-events: none;
    opacity: 0.5;
  }

  /* ========================= */
  .pages-section {
    margin-top: 40px;
}

.pages-heading {
    font-size: 24px;
    font-weight: bold;
    margin: 40px 0 16px;
}

.pages-table-container {
    overflow-x: auto;
}

.pages-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    border: 1px solid #ccc;
}

.pages-table th,
.pages-table td {
    padding: 12px 16px;
    border: 1px solid #ccc;
    text-align: left;
}

.pages-table-head {
    background-color: #f0f0f0;
    font-weight: bold;
}

.pages-img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 4px;
}

.pages-status {
    text-transform: capitalize;
}

.pages-form-section {
    margin-top: 40px;
}

.pages-form-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 24px;
}

.pages-success {
    color: green;
    margin-bottom: 12px;
}

.pages-errors {
    color: red;
    margin-bottom: 12px;
}

.pages-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pages-form-group {
    display: flex;
    flex-direction: column;
}

.pages-label {
    font-weight: 600;
    margin-bottom: 6px;
}

.pages-input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
}

.pages-submit-btn {
    background-color: #007BFF;
    color: white;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.pages-submit-btn:hover {
    background-color: #0056b3;
}

/* ============================ */
.page-container {
    max-width: 800px;
    margin: auto;
    padding: 20px;
    font-family: 'Segoe UI', sans-serif;
}

.page-header {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 30px;
}

.page-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #ccc;
}

.page-details h1 {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
}

.page-details p {
    margin: 5px 0;
    color: #555;
}

.post-news-section {
    margin-top: 30px;
    padding: 20px;
    border: 1px solid #ddd;
    background: #f9f9f9;
    border-radius: 8px;
}

.post-form .form-group {
    margin-bottom: 15px;
}

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

.post-form input[type="text"],
.post-form textarea,
.post-form input[type="file"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #bbb;
    border-radius: 4px;
}

.btn-submit {
    background: #1877f2;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.btn-submit:hover {
    background: #165ec9;
}

.no-permission {
    margin-top: 20px;
    padding: 10px;
    background: #ffe8e8;
    border: 1px solid #f5c2c2;
    color: #a94442;
    border-radius: 6px;
}

.news-feed {
    margin-top: 40px;
}

.news-card {
    background: #fff;
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.news-card h3 {
    margin-top: 0;
    font-size: 20px;
    font-weight: bold;
}

.news-image {
    margin-top: 10px;
    max-width: 100%;
    max-height: 250px;
    height: 100%;
    border-radius: 6px;
}

.news-meta {
    font-size: 12px;
    color: #777;
    margin-top: 10px;
}

.react-section {
    margin-top: 10px;
}

.react-button {
    background: none;
    border: none;
    color: #1877f2;
    font-size: 16px;
    cursor: pointer;
}

.react-button:hover {
    color: #0f5bcc;
}

.no-news {
    color: #999;
    font-style: italic;
}


/* ======================== */

.profile_header{
  display: flex;
  align-items: center;
}



.profile-container {
    font-family: Arial, sans-serif;
    background: #fff;
    border: 1px solid #ccc;
    max-width: 1200px;
    margin: 0 auto;
}

.profile-banner img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.profile-info {
    display: flex;
    align-items: center;
    padding: 20px;
    position: relative;
    background-color: #fff;
}

.profile-image {
    position: absolute;
    top: -80px;
    left: 20px;
    width: 160px;
    height: 160px;
    border: 5px solid #fff;
    border-radius: 50%;
    overflow: hidden;
    background-color: #ccc;
}

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

.profile-details {
    margin-left: 200px;
    flex-grow: 1;
}

.profile-details h2 {
    font-size: 28px;
    margin: 0;
}

.profile-details p {
    color: #555;
}

.profile-actions {
    display: flex;
    gap: 10px;
}

.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

.message-btn {
    background-color: #1877f2;
    color: white;
}

.edit-btn {
    background-color: #e4e6eb;
    color: white;
}

.profile-tabs {
    border-top: 1px solid #ccc;
    margin-top: 20px;
    padding: 0 20px;
    background: #f9f9f9;
}

.profile-tabs ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.profile-tabs li {
    padding: 12px 20px;
    cursor: pointer;
    font-weight: bold;
    color: #555;
}

.profile-tabs li.active {
    color: #1877f2;
    border-bottom: 3px solid #1877f2;
}


    @media (max-width: 600px) {
        .tags .grid-list { grid-template-columns: repeat(1, 1fr); }

    .tag-btn {
    width: 100%;

    }

    .adjust{
        display:inline;
    }

    .profile_header{
      display: none;
    }
}

