/* 
Theme Name: Website_NCT
Theme URI: https://thcsnguyencongtrubh.edu.vn/
Author: Your Name
Author URI: https:/thcsnguyencongtrubh.edu.vn/
Description: Website tùy chỉnh cho trường THCS Nguyễn Công Trứ
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: website-nct
*/

/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Bố cục cơ bản */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Header */
.site-header {
    background-color: #fff;
    padding: 10px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Banner mới */
.banner-container {
    width: 100%;
    text-align: center;
    padding: 10px 0;
}

.custom-banner {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Menu chính - PHẦN QUAN TRỌNG */
.main-navigation {
    background-color: #800000;
    margin-top: 10px;
    position: relative;
    z-index: 100;
    white-space: nowrap;
}

.main-navigation .menu-container {
    position: relative;
}

.main-navigation ul.menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
    flex-wrap: nowrap;
}

.main-navigation ul.menu > li {
    position: relative;
    flex: 0 0 auto;
}

.main-navigation ul.menu > li > a {
    color: white;
    text-decoration: none;
    padding: 15px 10px; /* Giảm padding ngang để tiết kiệm không gian */
    display: block;
    font-size: 14px; /* Giảm kích thước font */
    transition: background-color 0.3s;
    white-space: nowrap;
}

.main-navigation ul.menu > li:hover > a,
.main-navigation ul.menu > li.active > a {
    background-color: #a00000;
}

/* Submenu Styling */
.main-navigation ul.sub-menu {
    display: none; /* Mặc định ẩn submenu */
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background-color: #a00000;
    box-shadow: 0 3px 5px rgba(0,0,0,0.2);
    z-index: 999;
    list-style: none;
    padding: 0;
    margin: 0; /* Đảm bảo không có margin */
}

.main-navigation ul.menu > li:hover > ul.sub-menu,
.main-navigation ul.menu > li:focus-within > ul.sub-menu,
.main-navigation ul.menu > li.submenu-open > ul.sub-menu {
    display: block; /* Hiển thị submenu khi có class submenu-open */
}

.main-navigation ul.sub-menu li {
    width: 100%;
    position: relative;
}

.main-navigation ul.sub-menu li a {
    color: white;
    padding: 12px 15px;
    display: block;
    font-size: 14px;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    white-space: normal; /* Cho phép submenu xuống dòng */
}

.main-navigation ul.sub-menu li:last-child a {
    border-bottom: none;
}

.main-navigation ul.sub-menu li a:hover {
    background-color: #600000;
}

/* Dropdown icons */
.dropdown-icon {
    margin-left: 5px;
    font-size: 10px;
    display: inline-block;
    vertical-align: middle;
}

/* Mobile Menu Button */
.menu-button {
    display: none;
}

.menu-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    padding: 15px;
    cursor: pointer;
    width: 100%;
    text-align: left;
}

.menu-icon {
    display: inline-block;
    width: 18px;
    height: 2px;
    background-color: white;
    position: relative;
    vertical-align: middle;
    margin-right: 5px;
}

.menu-icon:before,
.menu-icon:after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: white;
}

.menu-icon:before {
    top: -6px;
}

.menu-icon:after {
    bottom: -6px;
}

/* Phần nội dung */
.site-main {
    padding: 20px 0;
}

/* Cải thiện giao diện khu vực tin tức */
.news-section {
    margin-bottom: 40px;
    position: relative;
}

.section-title {
    color: #800000;
    font-size: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #800000;
    margin-bottom: 20px;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
}

/* Hiệu ứng "Mới" */
.new-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #e74c3c;
    color: white;
    padding: 3px 8px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 3px;
    z-index: 2;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Thiết kế mới cho thông báo và hoạt động */
.announcements .announcement-list,
.school-activities .activities-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.announcements .announcement-item,
.school-activities .activity-item {
    display: flex;
    padding: 12px 15px;
    background: #f9f9f9;
    border-left: 3px solid #800000;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}

.announcements .announcement-item:hover,
.school-activities .activity-item:hover {
    background: #f0f0f0;
    transform: translateX(5px);
}

.announcements .announcement-item a,
.school-activities .activity-item a {
    flex: 1;
    color: #333;
    font-weight: 500;
    text-decoration: none;
    line-height: 1.4;
}

.announcements .announcement-item a:hover,
.school-activities .activity-item a:hover {
    color: #800000;
}

.announcements .post-date,
.school-activities .post-date {
    color: #777;
    font-size: 12px;
    white-space: nowrap;
    margin-left: 15px;
    display: flex;
    align-items: center;
}

.announcements .post-date i,
.school-activities .post-date i {
    margin-right: 5px;
}

/* Giao diện tin tức kiểu lưới mới */
.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.news-card {
    display: flex;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.news-image {
    flex: 0 0 200px;
    position: relative;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-content {
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
}

.news-title {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 10px;
    line-height: 1.4;
}

.news-title a {
    color: #333;
    text-decoration: none;
}

.news-title a:hover {
    color: #800000;
}

.news-meta {
    margin-top: auto;
    font-size: 14px;
    color: #666;
}

.news-date {
    display: flex;
    align-items: center;
}

.news-date i {
    margin-right: 5px;
    color: #800000;
}

/* Nút "Xem thêm" cải tiến */
.view-all {
    text-align: right;
    margin-top: 20px;
}

.view-all a {
    display: inline-block;
    padding: 8px 15px;
    background-color: #800000;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.view-all a:hover {
    background-color: #a00000;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.view-all a i {
    margin-left: 5px;
}

/* Pagination */
.pagination-container {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: 0 5px;
    border-radius: 50%;
    background: #f5f5f5;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.page-numbers.current {
    background: #800000;
    color: white;
}

.page-numbers:hover:not(.current) {
    background: #e0e0e0;
}

.prev.page-numbers,
.next.page-numbers {
    width: 36px;
    border-radius: 50%;
}

/* Tin tức, thông báo và hoạt động */
.featured-news {
    margin-bottom: 40px;
}

.news-content {
    margin-bottom: 15px;
}

.news-empty {
    padding: 10px 0;
    color: #666;
}

/* Thông báo */
.announcements {
    margin-bottom: 40px;
}

.announcement-list {
    margin-bottom: 15px;
}

/* Hoạt động trường */
.school-activities {
    margin-bottom: 40px;
}

.activities-list {
    margin-bottom: 15px;
}

/* Footer Styles */
.site-footer {
    background-color: #222;
    color: #fff;
    padding: 40px 0 20px;
    font-size: 14px;
}

.footer-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 20px;
}

.footer-column {
    flex: 1;
    padding: 0 15px;
    min-width: 250px;
    margin-bottom: 20px;
}

.footer-title {
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #444;
}

/* School Info */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.footer-contact-list i {
    margin-right: 10px;
    color: #999;
    min-width: 16px;
}

/* Quick Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

/* Connect and Stats */
.connect-section {
    margin-bottom: 30px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #444;
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    transition: background-color 0.3s;
}

.social-icon:hover {
    background-color: #800000;
}

.stats-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.stats-list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.stats-label {
    color: #ccc;
}

.stats-number {
    color: #fff;
    font-weight: bold;
    background-color: #800000;
    padding: 2px 8px;
    border-radius: 3px;
    margin-left: 5px;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #999;
}

/* Trang archive */
.page-header {
    margin-bottom: 20px;
}

.page-title {
    color: #800000;
    font-size: 22px;
    padding-bottom: 10px;
    border-bottom: 2px solid #800000;
    margin: 0 0 10px 0;
}

.archive-description {
    margin-top: 10px;
    font-style: italic;
    color: #666;
}

.breadcrumbs {
    padding: 10px 0;
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
    border-bottom: 1px solid #eee;
}

.breadcrumbs a {
    color: #800000;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs .separator {
    margin: 0 5px;
}

.breadcrumbs .current {
    font-weight: bold;
}

.archive-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.archive-item .entry-title {
    font-size: 18px;
    margin-bottom: 10px;
    margin-top: 0;
}

.archive-item .entry-title a {
    color: #333;
    text-decoration: none;
}

.archive-item .entry-title a:hover {
    color: #c00000;
}

.archive-item .entry-meta {
    font-size: 13px;
    color: #777;
    margin-bottom: 10px;
}

.archive-item .entry-content {
    font-size: 14px;
}

/* Trang bài viết đơn */
.entry-title {
    color: #800000;
    font-size: 24px;
    margin-bottom: 15px;
    margin-top: 0;
}

.entry-meta {
    font-size: 14px;
    color: #777;
    margin-bottom: 20px;
}

.post-thumbnail {
    margin-bottom: 20px;
}

.post-thumbnail img {
    max-width: 100%;
    height: auto;
    display: block;
}

.entry-content {
    margin-bottom: 30px;
    line-height: 1.8;
}

.entry-content p {
    margin-bottom: 15px;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: 25px;
    margin-bottom: 15px;
    color: #800000;
}

.entry-content ul,
.entry-content ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.entry-content li {
    margin-bottom: 5px;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    display: block;
}

.entry-footer {
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-size: 14px;
    color: #777;
}

.cat-links,
.tags-links {
    display: block;
    margin-bottom: 5px;
}

.cat-links a,
.tags-links a {
    color: #800000;
    text-decoration: none;
}

.cat-links a:hover,
.tags-links a:hover {
    text-decoration: underline;
}

/* Form đăng bài từ frontend */
#custom-post-form {
    max-width: 800px;
    margin: 0 auto 40px;
    background: #fff;
    padding: 25px;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

#custom-post-form .form-group {
    margin-bottom: 20px;
}

#custom-post-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

#custom-post-form input[type="text"],
#custom-post-form input[type="number"],
#custom-post-form input[type="date"],
#custom-post-form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #f9f9f9;
}

#custom-post-form input[type="file"] {
    padding: 8px 0;
}

#custom-post-form .description {
    font-size: 13px;
    color: #666;
    margin-top: 5px;
}

/* Trình soạn thảo */
#custom-post-form .wp-editor-container {
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

/* Tùy chọn */
#custom-post-form .options {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

#custom-post-form .option-item {
    display: flex;
    align-items: center;
}

#custom-post-form .option-item input[type="checkbox"] {
    margin-right: 8px;
}

/* Nút đăng bài */
#custom-post-form .form-actions {
    margin-top: 30px;
    text-align: right;
}

#custom-post-form .submit-button {
    background: #800000;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

#custom-post-form .submit-button:hover {
    background: #a00000;
}

/* Thông báo */
.success-message,
.error-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.success-message {
    background: #dff0d8;
    color: #3c763d;
    border: 1px solid #d6e9c6;
}

.error-message {
    background: #f2dede;
    color: #a94442;
    border: 1px solid #ebccd1;
}

.login-required {
    text-align: center;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 5px;
    margin-bottom: 40px;
}

.login-required a {
    color: #800000;
    text-decoration: underline;
}

/* Responsive */
@media (min-width: 768px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-card {
        flex-direction: column;
        height: 100%;
    }
    
    .news-image {
        flex: 0 0 180px;
        width: 100%;
    }
}

@media (max-width: 767px) {
    /* Mobile Menu */
    .menu-button {
        display: block;
    }
    
    .main-navigation ul.menu {
        display: none;
        flex-direction: column;
        white-space: normal;
    }
    
    .main-navigation .menu-container.toggled ul.menu {
        display: block;
    }
    
    .main-navigation ul.menu > li {
        width: 100%;
    }
    
    .main-navigation ul.menu > li > a {
        padding: 12px 15px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        white-space: normal;
    }
    
    /* Mobile Submenu */
    .main-navigation ul.sub-menu {
        position: static;
        width: 100%;
        display: none;
        box-shadow: none;
        background-color: #900000;
    }
    
    .main-navigation ul.menu > li:hover > ul.sub-menu {
        display: none;
    }
    
    .main-navigation ul.menu > li.submenu-open > ul.sub-menu {
        display: block;
    }
    
    .main-navigation ul.sub-menu li a {
        padding-left: 30px;
    }
    
    /* Dropdown icons for mobile */
    .dropdown-icon {
        position: absolute;
        right: 15px;
        top: 15px;
    }
    
    .container {
        padding: 0 10px;
    }
    
    /* Responsive Footer */
    .footer-columns {
        flex-direction: column;
    }
    
    .footer-column {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .news-card {
        flex-direction: row;
    }
    
    .news-image {
        flex: 0 0 120px;
    }
    
    .announcements .announcement-item,
    .school-activities .activity-item {
        flex-direction: column;
    }
    
    .announcements .post-date,
    .school-activities .post-date {
        margin-left: 0;
        margin-top: 5px;
    }
    
    #custom-post-form {
        padding: 15px;
    }
    
    #custom-post-form .options {
        flex-direction: column;
        gap: 10px;
    }
}
/* Thiết kế tin tức theo mẫu chính xác */
.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.news-card-large {
    grid-column: 1 / -1;
    display: block;
    position: relative;
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 10px;
}

.news-card-large .news-image {
    width: 100%;
    height: 300px;
    position: relative;
}

.news-card-large .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card-large .news-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: rgba(128, 0, 0, 0.85);
    color: white;
}

.news-card-large .news-title {
    margin: 0 0 10px;
}

.news-card-large .news-title a {
    color: white;
    font-size: 20px;
    font-weight: bold;
}

.news-card-large .news-date {
    color: rgba(255, 255, 255, 0.8);
}

.news-card-large .news-date i {
    color: rgba(255, 255, 255, 0.8);
}

/* Tin tức nhỏ bên phải */
.news-card-small {
    display: flex;
    align-items: center;
    background: #fff;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.news-card-small:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.news-card-small .news-image {
    flex: 0 0 80px;
    height: 80px;
    margin-right: 15px;
    border-radius: 4px;
    overflow: hidden;
}

.news-card-small .news-content {
    flex: 1;
}

.news-card-small .news-title {
    font-size: 16px;
    margin: 0 0 8px;
    line-height: 1.3;
}

.news-card-small .news-date {
    font-size: 12px;
}

/* Phân trang kiểu tròn */
.pagination-container {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: 0 5px;
    border-radius: 50%;
    background: #f5f5f5;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.page-numbers.current {
    background: #800000;
    color: white;
}

.page-numbers:hover:not(.current) {
    background: #e0e0e0;
}

.prev.page-numbers,
.next.page-numbers {
    width: 36px;
    border-radius: 50%;
}

/* Responsive layout */
@media (min-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .news-card-large {
        grid-column: 1;
        grid-row: span 4;
    }
    
    .news-list-small {
        grid-column: 2;
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 767px) {
    .news-grid {
        display: block;
    }
    
    .news-card-large {
        margin-bottom: 20px;
    }
    
    .news-list-small {
        margin-top: 20px;
    }
}
/* Form đăng bài từ frontend */
#custom-post-form {
    max-width: 800px;
    margin: 0 auto 40px;
    background: #fff;
    padding: 25px;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

#custom-post-form .form-group {
    margin-bottom: 20px;
}

#custom-post-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

#custom-post-form input[type="text"],
#custom-post-form input[type="number"],
#custom-post-form input[type="date"],
#custom-post-form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #f9f9f9;
}

#custom-post-form input[type="file"] {
    padding: 8px 0;
}

#custom-post-form .description {
    font-size: 13px;
    color: #666;
    margin-top: 5px;
}

/* Trình soạn thảo */
#custom-post-form .wp-editor-container {
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

/* Nút đăng bài */
#custom-post-form .form-actions {
    margin-top: 30px;
    text-align: right;
}

#custom-post-form .submit-button {
    background: #800000;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

#custom-post-form .submit-button:hover {
    background: #a00000;
}

/* Thông báo */
.success-message,
.error-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.success-message {
    background: #dff0d8;
    color: #3c763d;
    border: 1px solid #d6e9c6;
}

.error-message {
    background: #f2dede;
    color: #a94442;
    border: 1px solid #ebccd1;
}

/* Đính kèm file */
.attachment-description {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}

.attachment-files-list {
    list-style: none;
    padding: 0;
    margin: 10px 0;
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 4px;
}

.attachment-files-list li {
    padding: 8px 12px;
    border-bottom: 1px solid #eee;
}

.attachment-files-list li:last-child {
    border-bottom: none;
}

.attachment-files-list li i {
    margin-right: 5px;
    color: #800000;
}

/* Xem trước ảnh đại diện */
.thumbnail-preview {
    margin-top: 10px;
    text-align: center;
}

.thumbnail-preview img {
    max-width: 200px;
    max-height: 200px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 3px;
    background: #fff;
}

.thumbnail-preview p {
    margin-top: 5px;
    font-size: 13px;
    color: #666;
}

/* Hiển thị file đính kèm trong bài viết */
.attached-files {
    margin-top: 30px;
    padding: 15px;
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 4px;
}

.attached-files h3 {
    margin-top: 0;
    color: #800000;
    font-size: 18px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.attached-files-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.attached-files-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}

.attached-files-list li:last-child {
    border-bottom: none;
}

.attached-files-list li i {
    color: #800000;
    margin-right: 5px;
}

.attached-files-list li a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

.attached-files-list li a:hover {
    color: #800000;
    text-decoration: underline;
}

.file-size {
    color: #777;
    font-size: 13px;
}
