/* E-Posters Styles (integrated with programme style) */

/* Fix for fixed navbar overlap */
#Eposters {
    scroll-margin-top: 100px;
}

/* Search and Filter Box */
.search-filter-box {
    max-width: 800px;
    margin: 40px auto;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.search-filter-box .input-group {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-radius: 50px;
    overflow: hidden;
}

.search-filter-box .input-group-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    padding: 12px 20px;
}

.search-filter-box .form-control {
    border: none;
    padding: 12px 20px;
    font-size: 1rem;
}

.search-filter-box .form-control:focus {
    box-shadow: none;
    outline: none;
}

.results-count {
    text-align: center;
    color: #666;
    font-size: 0.95rem;
    font-weight: 500;
}

/* E-Posters List Container */
.eposters-list-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

/* E-Poster Card (using schedule-item style) */
.eposter-card {
    position: relative;
    padding-left: 80px !important;
}

.eposter-number-badge {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.eposter-institution-tag {
    margin-top: 8px;
    color: #ffffff;
    font-size: 0.9rem;
    font-style: italic;
}

.eposter-institution-tag i {
    color: #ffffff;
    margin-right: 5px;
}

/* Pagination Controls */
.pagination-controls {
    margin-top: 50px;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.pagination-info {
    text-align: center;
    margin-bottom: 20px;
    color: #666;
    font-weight: 500;
}

.pagination-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pagination-buttons .btn {
    min-width: 100px;
}

.page-numbers {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.page-numbers .btn {
    min-width: 40px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .search-filter-box {
        padding: 20px;
        margin: 30px 15px;
    }

    .eposter-card {
        padding-left: 15px !important;
        flex-direction: column;
    }

    .eposter-number-badge {
        position: static;
        transform: none;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        margin-bottom: 15px;
    }

    .pagination-controls {
        padding: 20px 15px;
    }

    .pagination-buttons {
        gap: 5px;
    }

    .pagination-buttons .btn {
        min-width: 80px;
        font-size: 0.9rem;
        padding: 8px 12px;
    }

    .page-numbers .btn {
        min-width: 35px;
    }
}

.eposters-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.eposters-header h1 {
    color: #204578;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.eposters-header h1 i {
    font-size: 2.5rem;
}

.eposters-header .subtitle {
    color: #666;
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 300;
}

.eposters-header .info-badge {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
}

.eposters-header .info-badge i {
    margin-right: 8px;
}

/* E-Posters Container */
.eposters-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Individual E-Poster Item */
.eposter-item {
    display: flex;
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 5px solid #204578;
}

.eposter-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 30px rgba(32, 69, 120, 0.2);
    border-left-color: #667eea;
}

.eposter-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 25px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.eposter-content {
    flex: 1;
}

.eposter-title {
    color: #204578;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.5;
}

.eposter-authors {
    color: #555;
    font-size: 1rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.eposter-authors i {
    color: #667eea;
    font-size: 1.1rem;
}

.eposter-institution {
    color: #777;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    font-style: italic;
}

.eposter-institution i {
    color: #204578;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
    color: white;
}

.back-to-top i {
    font-size: 1.5rem;
}

/* Search Box (optional future feature) */
.search-box {
    max-width: 600px;
    margin: 0 auto 40px;
}

.search-box input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .eposters-wrapper {
        padding: 80px 0 30px;
    }

    .eposters-header h1 {
        font-size: 2rem;
        flex-direction: column;
        gap: 10px;
    }

    .eposters-header h1 i {
        font-size: 2rem;
    }

    .eposters-header .subtitle {
        font-size: 1.1rem;
    }

    .eposters-header .info-badge {
        font-size: 1rem;
        padding: 10px 20px;
    }

    .eposter-item {
        flex-direction: column;
        padding: 20px;
    }

    .eposter-number {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-right: 0;
        margin-bottom: 15px;
    }

    .eposter-title {
        font-size: 1.1rem;
    }

    .eposter-authors,
    .eposter-institution {
        font-size: 0.9rem;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .eposters-header h1 {
        font-size: 1.6rem;
    }

    .eposter-title {
        font-size: 1rem;
    }
}
