/* ============================================
   Journal Module Custom Styles
   Extends Home Module styles for Journal pages
   ============================================ */

/* Journal Banner Section */
.adv-inner-banner {
    padding: 30px 0;
    background: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
}

.reward-equal-height {
    display: flex;
    align-items: stretch;
}

.award-slider-wrapper {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.award-slide {
    display: none;
    text-align: center;
}

.award-slide.active {
    display: block;
}

.award-slide img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.reward-main-banner {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reward-main-banner img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Journal Body Content */
.jrnl-body {
    padding: 60px 0;
    background: #fff;
}

.jnl-content {
    margin-bottom: 40px;
}

.jrnl_body_main_title h3,
.jnl-content h3 {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #10b981;
    position: relative;
}

.jrnl_body_main_title h3::after,
.jnl-content h3::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100px;
    height: 3px;
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
}

/* Article Processing Timeline */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 30px 0;
}

.metric-card {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    color: #fff;
    padding: 25px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.4);
}

.metric-value {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    line-height: 30px;
}

.metric-label {
    font-size: 15px;
    font-weight: 500;
    opacity: 0.95;
    line-height: 1.5;
}

/* Editorial Board Section */
.member-section {
    margin: 50px 0;
}

.manscript-submition h3 {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #10b981;
    position: relative;
}

.manscript-submition h3::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100px;
    height: 3px;
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
}

.board-members {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.index_editorial_members {
    margin-bottom: 30px;
}

.index_editorial_members.chief {
    border: 2px solid #10b981;
    border-radius: 15px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
}

.index_editorial_members img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.edit_text_justify {
    padding-left: 15px;
}

.name-ef h4 {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
    line-height: 1.6;
}

.editor_in_cheif_label,
.editor_in_cheif_label a {
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 5px;
}

.editor_in_cheif_label,
.editor_in_cheif_label a:hover {
    color: #ffffff;
}

.member_profile_link {
    color: #10b981;
    font-size: 13px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.member_profile_link:hover {
    color: #047857;
    text-decoration: underline;
}

.name-ef span {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

/* Submit Manuscript Form */
.gen-content.brochure-form {
    margin-top: 30px;
}

.submit_manuscript_journal_info {
    margin-bottom: 30px;
}

.submit_manuscript_journal_info input[readonly] {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: default;
}

.submit_manuscript_sub_titles h3 {
    font-size: 24px;
    font-weight: 600;
    color: #10b981;
    margin: 30px 0 20px;
    padding: 15px 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-left: 4px solid #10b981;
    border-radius: 8px;
}

.form-control {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 12px 15px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

label.control-label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
    margin-bottom: 8px;
}

label .red {
    color: #dc3545;
    margin-left: 3px;
}

.text-danger_form_error {
    color: #dc3545;
    font-size: 13px;
    margin-top: 5px;
}

.well {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Button Styling */
.btn-primary {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    border: none;
    color: #fff;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

/* Archive & Articles Section */
.archive-section,
.articles-section {
    margin: 40px 0;
}

.archive-card,
.article-card {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.archive-card:hover,
.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.15);
}

.article-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.article-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-title a:hover {
    color: #10b981;
}

.article-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.article-meta i {
    color: #10b981;
    margin-right: 5px;
}

.article-authors {
    font-size: 15px;
    color: #555;
    margin-bottom: 15px;
    font-style: italic;
}

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

.btn-view,
.btn-download {
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-view {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    color: #fff;
}

.btn-view:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    color: #fff;
}

.btn-download {
    background: #fff;
    color: #10b981;
    border: 2px solid #10b981;
}

.btn-download:hover {
    background: #10b981;
    color: #fff;
    transform: translateY(-2px);
}

/* Contact Us Section */
.contact-info-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.contact-info-card h4 {
    font-size: 22px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info-card h4 i {
    color: #10b981;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 15px;
}

.contact-detail i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.contact-detail a {
    color: #10b981;
    text-decoration: none;
    font-weight: 500;
}

.contact-detail a:hover {
    color: #047857;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 991px) {
    .metrics-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 20px;
    }

    .metric-card {
        padding: 25px 20px;
    }

    .metric-value {
        font-size: 30px;
    }

    .metric-label {
        font-size: 14px;
    }

    .jrnl_body_main_title h3,
    .jnl-content h3 {
        font-size: 28px;
    }

    .reward-equal-height {
        flex-direction: column;
    }

    .award-slider-wrapper,
    .reward-main-banner {
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .jrnl-body {
        padding: 40px 0;
    }

    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .metric-card {
        padding: 20px 15px;
    }

    .metric-value {
        font-size: 28px;
    }

    .jrnl_body_main_title h3,
    .jnl-content h3 {
        font-size: 24px;
    }

    .submit_manuscript_sub_titles h3 {
        font-size: 20px;
        padding: 12px 15px;
    }

    .well {
        padding: 20px;
    }

    .index_editorial_members {
        margin-bottom: 25px;
    }

    .edit_text_justify {
        padding-left: 0;
        margin-top: 15px;
    }

    .article-actions {
        flex-direction: column;
    }

    .btn-view,
    .btn-download {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .adv-inner-banner {
        padding: 20px 0;
    }

    .jrnl_body_main_title h3,
    .jnl-content h3 {
        font-size: 22px;
    }

    .metric-value {
        font-size: 24px;
    }

    .metric-label {
        font-size: 13px;
    }

    .name-ef h4 {
        font-size: 16px;
    }

    .contact-info-card {
        padding: 20px;
    }
}

/* Custom Mobile Reverse */
.custom-mobile-reverse {
    display: flex;
    flex-direction: column;
}

@media (max-width: 767px) {
    .custom-mobile-reverse {
        flex-direction: column-reverse;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.metric-card,
.index_editorial_members,
.archive-card,
.article-card,
.contact-info-card {
    animation: fadeInUp 0.6s ease;
}
