/********** Template CSS **********/
:root {
    --primary: #009CFF;
    --light: #F3F6F9;
    --dark: #191C24;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
}

.btn.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}


/*** Layout ***/
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 250px;
    height: 100vh;
    overflow-y: auto;
    background: var(--light);
    transition: 0.5s;
    z-index: 999;
}

.content {
    margin-left: 250px;
    min-height: 100vh;
    background: #FFFFFF;
    transition: 0.5s;
}

@media (min-width: 992px) {
    .sidebar {
        margin-left: 0;
    }

    .sidebar.open {
        margin-left: -250px;
    }

    .content {
        width: calc(100% - 250px);
    }

    .content.open {
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 991.98px) {
    .sidebar {
        margin-left: -250px;
    }

    .sidebar.open {
        margin-left: 0;
    }

    .content {
        width: 100%;
        margin-left: 0;
    }
}


/*** Navbar ***/
.sidebar .navbar .navbar-nav .nav-link {
    padding: 7px 20px;
    color: var(--dark);
    font-weight: 500;
    border-left: 3px solid var(--light);
    border-radius: 0 30px 30px 0;
    outline: none;
}

.sidebar .navbar .navbar-nav .nav-link:hover,
.sidebar .navbar .navbar-nav .nav-link.active {
    color: var(--primary);
    background: #FFFFFF;
    border-color: var(--primary);
}

.sidebar .navbar .navbar-nav .nav-link i {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 40px;
}

.sidebar .navbar .navbar-nav .nav-link:hover i,
.sidebar .navbar .navbar-nav .nav-link.active i {
    background: var(--light);
}

.sidebar .navbar .dropdown-toggle::after {
    position: absolute;
    top: 15px;
    right: 15px;
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    transition: .5s;
}

.sidebar .navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

.sidebar .navbar .dropdown-item {
    padding-left: 25px;
    border-radius: 0 30px 30px 0;
}

.content .navbar .navbar-nav .nav-link {
    margin-left: 25px;
    padding: 12px 0;
    color: var(--dark);
    outline: none;
}

.content .navbar .navbar-nav .nav-link:hover,
.content .navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.content .navbar .sidebar-toggler,
.content .navbar .navbar-nav .nav-link i {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 40px;
}

.content .navbar .dropdown-toggle::after {
    margin-left: 6px;
    vertical-align: middle;
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    transition: .5s;
}

.content .navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

@media (max-width: 575.98px) {
    .content .navbar .navbar-nav .nav-link {
        margin-left: 15px;
    }
}


/*** Date Picker ***/
.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}


/*** Testimonial ***/
.progress .progress-bar {
    width: 0px;
    transition: 2s;
}


/*** Testimonial ***/
.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 5px solid var(--primary);
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--dark);
    border-color: var(--primary);
}

.badge {
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 0.8em;
  color: white;
}

.status-1 { background: #3498db; }    /* Editor Assigned */
.status-2 { background: #e67e22; }    /* Reviewed */
.status-3 { background: #2ecc71; }    /* Revised */
.status-4 { background: #e74c3c; }    /* Under Review */
.status-5 { background: #9b59b6; }    /* Rejected */
.status-6 { background: #f1c40f; }    /* Published */

img.logo_img {
    width: 220px;
    background: #f4f6f9;
    padding: 4px;
    box-shadow: 1px 2px #a6dcff;
    margin-bottom: 20px;
    margin-left: 10px;
}

.ms-3.user_info {
    background: #d1ecfe;
    padding: 10px;
    width: 100%;
    margin-left: 0px !important;
    line-height: 30px;
}
span.author_main_title {
    color: #019cff;
}
td.author_article_info {
    width: 60%;
}

.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
  }
  .login-container {
    max-width: 440px;
    margin: 40px auto;
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    border: 2px solid black;
  }
  .info-container {
    max-width: 800px;
    margin: 40px auto;
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    display: none;
    border: 2px solid black;
  }
  .logo img {
    width: 180px;
    display: block;
    margin: 0 auto 20px;
  }
  h3 {
    text-align: center;
    margin-bottom: 25px;
    font-weight: 600;
  }
  h4 {
    color: #333;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-top: 30px;
  }
  .tab-buttons {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
  }
  .tab-buttons button {
    flex: 1;
    padding: 10px;
    margin: 0 5px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    color: #fff;
    font-weight: bold;
    transition: 0.3s;
  }
  .tab-buttons button.active {
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
  }
  .author-btn { background-color: #28a745; }
  .editor-btn { background-color: #17a2b8; }
  .reviewer-btn { background-color: #ffc107; color: #000; }
  .login-form {
    display: none;
  }
  .login-form.active {
    display: block;
  }
  .info-content {
    display: none;
  }
  .info-content.active {
    display: block;
  }
  .login-form input[type="email"],
  .login-form input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
  }
  .login-form input[type="submit"] {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    box-sizing: border-box;
  }
  #author input[type="submit"] { background-color: #28a745; color: #fff; }
  #editor input[type="submit"] { background-color: #17a2b8; color: #fff; }
  #reviewer input[type="submit"] { background-color: #ffc107; color: #000; }
  .login-error {
    color: red;
    margin: 10px 0;
    text-align: center;
  }
  .features-list {
    margin-left: 20px;
  }
  .features-list li {
    margin-bottom: 8px;
  }
  .workflow-step {
    margin-bottom: 15px;
    padding-left: 20px;
    border-left: 3px solid #ddd;
  }
  .decision-type {
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
  }
  .decision-type strong {
    display: block;
    margin-bottom: 5px;
  }
.login-container .logo img {
    width: 300px;
}
a.author_view {
    background: #337ab7;
    color: #fff;
    padding: 5px 20px;
    border-radius: 10px;
    display: inline-block;
    margin-top: 5px;
    text-decoration: none;
}
th.author_article_title {
    width: 33%;
}

.d-flex.align-items-center.ms-4.mb-4 {
    width: 100%;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Prasad css start */
#editCommentModal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}
#editCommentModal .modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 50%;
    border-radius: 5px;
}

#editCommentModal .modal-content span.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

#editCommentModal .modal-content span.close:hover {
    color: black;
}

#editCommentForm .form-group {
    margin-bottom: 15px;
}

#editCommentForm .form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

#editCommentForm .form-group .form-control {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

#editCommentForm .btn-primary {
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#editCommentForm .btn-primary:hover {
    background-color: #0069d9;
}
.bg-light.rounded .form-horizontal .form-group.col-xs-6 {
    padding: 10px;
}
.bg-light.rounded .manu_details{
    margin-top: 20px;
}

.login-container .login-form.active .author_signup{
    padding: 10px;
}
.login-container .login-form.active .author_signup a{
    float: right;
    color: #28a745;
    text-decoration: underline;
}
.login-container .login-form.active .editor_signup{
    padding: 10px;
}
.login-container .login-form.active .editor_signup a{
    float: right;
    color: #17a2b8;
    text-decoration: underline;
}
.login-container .login-form.active .reviewer_signup{
    padding: 10px;
}
.login-container .login-form.active .reviewer_signup a{
    float: right;
    color: #ffc107;
    text-decoration: underline;
}
/* Modal Styles */
#reviewModal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

#reviewModal .modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 50%;
    border-radius: 5px;
}

#reviewModal .modal-content span.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

#reviewModal .modal-content span.close:hover {
    color: black;
}

#reviewForm .form-group {
    margin-bottom: 15px;
}

#reviewForm .form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

#reviewForm .form-group .form-control {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

#reviewForm .btn-primary {
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#reviewForm .btn-primary:hover {
    background-color: #0069d9;
}

.table .actions button.btn {
    background: #007bff;
    color: #fff;
}
tr td.date_review {
    width: 120px;
    display: inline-block;
}
tr td.review_comments {
    width: 815px;
}
tr td.review_comments span {
    display: inline-block;
}
tr th.date_column {
    width: 120px;
}
.author_article_info span.jou_short_code {
    text-transform: uppercase;
}
.author_jou_details span.jou_short_code {
    text-transform: uppercase;
}
.form-floating.mb-3.contact-message textarea#message {
    height: 150px;
}
@media only screen and (max-width:767px) and (min-width:320px){
    .bg-light.rounded.h-100.p-4 table.table {
        display: block;
        overflow-y: scroll;
    }
    #reviewModal .modal-content {
        width: 95%;
    }
    #editCommentModal .modal-content {
        width: 95%;
    }
}


/* Prasad css end */


