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;
    font-family: 'Segoe UI', sans-serif;
}

.navbar-brand {
    font-weight: bold;
    letter-spacing: 1px;
}

.card-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

img.card-img-top {
    height: 200px;
    object-fit: cover;
}


.full-height {
    min-height: calc(100vh - 100px); /* 100px is approximate navbar height */
    display: flex;
    align-items: center;
}

.article-content h1,
.article-content h2,
.article-content h3 {
    margin-top: 1.2rem;
    font-weight: bold;
}

.article-content p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.article-content img {
    max-width: 100%;
    border-radius: 6px;
    margin: 1rem 0;
}

/* Post actions (Like, Comment, Share) */
.post-actions {
    display: flex;
    gap: 15px;
    margin-top: 8px;
}

.btn-action {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
}

    .btn-action i {
        color: #444;
        transition: color 0.3s ease;
    }

        .btn-action i.liked {
            color: dodgerblue /* Bootstrap blue */
        }

.comment-section textarea {
    resize: none;
}

.dropdown-menu i {
    margin-right: 6px;
}


/*Data Tables*/

/* W3Schools-inspired pagination */
.dataTables_wrapper .dataTables_paginate .pagination .page-link {
    border: none;
    margin: 0 4px;
    border-radius: 8px;
    color: #007bff;
    background: #f1f1f1;
    padding: 6px 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .dataTables_wrapper .dataTables_paginate .pagination .page-link:hover {
        background: #007bff;
        color: #fff;
    }

.dataTables_wrapper .dataTables_paginate .pagination .active .page-link {
    background: #007bff;
    color: #fff !important;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 123, 255, 0.3);
}

.dataTables_wrapper .dataTables_paginate .pagination .disabled .page-link {
    background: #e9ecef;
    color: #aaa;
}

