:root {
    --black-color: #212529;
    --white-color: #fff;
    --light-blue: #00aced;
}
html {
    text-align: start;
}
.rtl {
    direction: rtl;
}
body {
    font-family: "Nunito", sans-serif;
    padding-top: 56px;
}

body:has(.auth-layout) {
    padding-top: 0 !important;
    margin: 0;
    height: 100vh;
    background: linear-gradient(to right, #1e3c72, #2a69d0);
}
body:has(.auth-layout) form {
    margin: 0 auto;
    width: 600px;
    max-width: 95%;
    background-color: var(--white-color);
    padding: 20px;
    border-radius: 10px;
}
.auth-layout {
    position: relative;
    min-height: 90vh;
    padding: 100px 0;
}
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    text-transform: capitalize;
}
ul {
    padding: 0;
    margin: 0;
    list-style: none;
}
li {
    margin-bottom: 10px;
}
/* start header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;
}
header .nav-link {
    color: var(--white-color);
    text-transform: capitalize;
}
header .navbar-brand img {
    max-width: 110px;
}
header .dropdown-menu {
    border-radius: 0;
}
header .dropdown-item {
    transition: 0.3s;
    text-transform: capitalize;
}

header .dropdown-item:hover {
    background-color: var(--black-color);
    color: var(--white-color);
}
.main-card {
    padding: 10px;
    border-radius: 10px;
}
.main-card img {
    border-radius: 10px;
}
.main-card .card-title {
    padding: 20px;
}
.main-card .card-title a {
    color: var(--black-color);
    text-decoration: none;
    text-transform: capitalize;
}
.organizations {
    display: flex;
    justify-content: center;
    align-items: center;
}
.organizations div {
    width: 125px;
    max-width: 20%;
    margin: 0 10px;
}

.organizations img {
    width: 100%;
    object-fit: cover;
}
/* start hero */
.hero {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 80vh;
    background-image: url(../img/home/demo.jpg);
    background-size: cover;
}

.page-hero {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 50vh;
    background-size: cover;
    background-position: center;
}

.page-hero .over-layer {
    background-color: #0000006b;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-hero .over-layer * {
    color: var(--light-blue);
}
/* start sub hero */
.sub-hero {
    background-color: var(--black-color);
    padding: 20px 0;
}

.sub-hero h2 {
    font-size: 3rem;
}
/* start about */
.about {
    background-color: #f8f9fa;
    padding: 40px 0;
}

/* start sub-about */
.sub-about {
    min-height: 50vh;
    padding: 20px 0;
    background-image: url(../img/home/sub-about-bg.png);
    background-size: cover;
}
.sub-about * {
    color: var(--white-color);
}
.sub-about img {
    object-fit: cover;
    width: 100%;
}

/* start issues */

.issues-hero {
    background-image: url(../img/issues/issues-hero.jpg);
}

.issues-card {
    padding: 20px;
    background-image: url(../img/issues/blue-bg.png);
    background-size: cover;
}
.issues-page-details {
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    background-image: linear-gradient(
        var(--black-color) 0% 35%,
        var(--white-color) 30% 100%
    );
}
.issues-page-details .img-container img {
    /* aspect-ratio: 2 / 1; */
    min-width: 100%;
    object-fit: cover;
    margin-bottom: 15px;
}
/* start author */
.author-hero {
    background-image: url(../img/author-guid/author-hero.png);
}

/* start submitting-article */
.submitting-article-hero {
    background-image: url(../img/submitting-article/submitting-article-hero.jpg);
}
/* start contact us */
.contact-us-hero {
    background-image: url(../img/contact-us/bg.jpg);
}
/* start journal management */
.journal-management-hero {
    background-image: url(../img/about-us/journal-management.jpg);
}
/* start footer */
footer {
    padding: 20px 0;
    background-color: #212529;
}
footer .logo {
    max-width: 120px;
}
.bottom-footer {
    background-color: var(--light-blue);
}
.social-icons a {
    font-size: 24px; /* Adjust for icon size */
}
.animated-icon {
    display: inline-block;
    animation: bounce 2s infinite;
}
/* start form  */
.input-group {
    margin-bottom: 15px;
    position: relative;
}
.select2-container--default .select2-selection--single,
.input-group input {
    width: 100%;
    padding: 10px;
    padding-left: 40px;
    border: 1px solid #ccc !important;
    border-radius: 5px;
    height: 45px;
}
.rtl .select2-container--default .select2-selection--single,
.rtl .input-group input {
    padding-left: 10px;
    padding-right: 40px;
}
.input-group .fas,
.input-group .fa {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    z-index: 1;
}
.rtl .input-group .fas,
.rtl .input-group .fa {
    left: auto;
    right: 10px;
}
/* start search result */
.result-item {
    border: 1px solid #ccc;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    transition: box-shadow 0.3s;
}
.result-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.grid-view {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.grid-item {
    flex: 1 0 calc(33.333% - 20px); /* 3 items in a row */
    box-sizing: border-box;
}
@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}
/* Media Queries for Responsiveness */
@media (max-width: 1200px) {
    header .nav-link {
        font-size: 14px;
    }
}
@media (max-width: 768px) {
    .sub-hero h2 {
        font-size: 2.5rem;
    }
    .sub-about {
        min-height: auto;
        padding: 20px 0;
        background-image: url(../img/home/sub-about-bg.png);
        background-size: cover;
    }
}

/* Custom arrow for select */
.auth-layout .input-group {
    position: relative;
}

.auth-layout .input-group select + i.fas {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none; /* Makes the icon non-clickable */
}

/* Remove select2 default styling */
.auth-layout .select2-container--default .select2-selection--single {
    border: none;
    background-color: transparent;
}

.auth-layout
    .select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
    padding-left: 0;
    color: inherit;
}

.auth-layout
    .select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    display: none;
}

.table-responsive {
    margin-top: 1rem;
}

.dataTable {
    border-radius: 8px;
    border: none;
    background: white;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    overflow-x: auto;
    display: block;
    width: 100%;
    white-space: nowrap;
    display: inline-table;
}

.dataTable thead th {
    background: #2c3e50;
    color: #ffffff;
    font-weight: 600;
    padding: 16px 20px;
    border: none;
    position: relative;
    transition: all 0.3s ease;
}

.dataTable thead th:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #ffffff, #ecf0f1);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.dataTable thead th:hover:after {
    transform: scaleX(1);
}

.dataTable tbody td {
    padding: 14px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    max-width: 600px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dataTable tbody tr {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dataTable tbody tr:hover {
    background: linear-gradient(145deg, #f8f9fa, #ffffff);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.dataTable .btn {
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dataTable .btn-edit {
    background: #3498db;
    color: white;
    border: none;
    padding: 8px 16px;
}

.dataTable .btn-delete {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 8px 16px;
}

.dataTable .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

ul.research-requests-list {
    padding: 0;
    margin: 20px 0;
}

ul.research-requests-list li {
    position: relative;
    padding: 10px 15px;
    margin-bottom: 10px;
    background-color: #f0f8ff;
    border-radius: 8px;
    font-family: "Comic Sans MS", cursive, sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
}

ul.research-requests-list li:hover {
    background-color: #f0f8ff;
    transform: translateX(10px) scale(1.02);
}

/* Custom Notification Styles */
.notification-wrapper {
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    border-left: 4px solid #00aced;
    background: #fff;
    transition: all 0.3s ease;
}

.notification-wrapper.bg-info {
    background: rgba(0, 172, 237, 0.1) !important;
}

.notification-wrapper .alert-heading {
    color: #2c3e50;
    font-size: 18px;
    margin-bottom: 10px;
}

.notification-wrapper .alert-heading.text-info {
    color: #00aced;
}

.notification-wrapper p {
    color: #666;
    margin-bottom: 10px;
    line-height: 1.6;
}

.notification-wrapper .timestamp {
    color: #888;
    font-size: 14px;
}

.notification-wrapper .mark-read {
    color: #00aced;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 15px;
    transition: all 0.2s ease;
    float: right;
}

.notification-wrapper .mark-read:hover {
    background: rgba(0, 172, 237, 0.1);
    text-decoration: none;
}

.notification-wrapper:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
