

/*Start-----------------------[ NewsTotal CSS ]------------------------*/
    .news-list-container {
        padding: 2rem 0;
    }
    .main-news-card {
        border: none;
        border-radius: 10px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.08);
        overflow: hidden;
    }
    .news-card-header {
        background-color: #3498db;
        color: white;
        padding: 1.2rem 1.5rem;
    }
    .news-card-header h2 {
        margin: 0;
        font-weight: 600;
        font-size: 1.5rem;
    }
    .news-table {
        width: 100%;
        border-collapse: collapse;
    }
    .news-table th {
        background-color: #f8f9fa;
        padding: 0.8rem 1rem;
        text-align: right;
        font-weight: 600;
        color: #495057;
        border-bottom: 2px solid #eee;
    }
    .news-table td {
        padding: 0.8rem 1rem;
        border-bottom: 1px solid #eee;
        vertical-align: middle;
    }
    .news-table tr:last-child td {
        border-bottom: none;
    }
    .news-table tr:hover {
        background-color: #f8f9fa;
    }
    .news-id {
        width: 60px;
        text-align: center;
        color: #6c757d;
    }
    .news-date {
        width: 120px;
        text-align: left;
        color: #6c757d;
        font-size: 0.85rem;
    }
    .news-title {
        font-weight: 500;
        color: #2c3e50;
    }
    .news-title a {
        color: inherit;
        text-decoration: none;
        transition: color 0.2s;
    }
    .news-title a:hover {
        color: #3498db;
        text-decoration: underline;
    }
    .news-attachment {
        width: 100px;
        text-align: center;
    }
    .attachment-badge {
        background-color: #e3f2fd;
        color: #1976d2;
        padding: 0.3rem 0.6rem;
        border-radius: 4px;
        font-size: 0.8rem;
        display: inline-flex;
        align-items: center;
        gap: 0.3rem;
    }
    .pagination-container {
        padding: 1rem 1.5rem;
        background-color: #f8f9fa;
        border-top: 1px solid #eee;
    }
    .no-news {
        padding: 2rem;
        text-align: center;
        color: #6c757d;
    }
/*End-----------------------[ NewsTotal CSS ]------------------------*/

/*Start-----------------------[ newsLettre CSS]----------------*/
:root {
            --primary-color: #3498db;
            --secondary-color: #2c3e50;
            --success-color: #2ecc71;
            --danger-color: #e74c3c;
        }
        
        body {
            background-color: #f8f9fa;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        .form-container {
            background-color: white;
            border-radius: 10px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
            padding: 2rem;
            margin-top: 2rem;
        }
        
        .form-title {
            color: var(--secondary-color);
            font-weight: 600;
            margin-bottom: 1.5rem;
            position: relative;
            padding-bottom: 0.5rem;
        }
        
        .form-title:after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 60px;
            height: 3px;
            background: var(--primary-color);
        }
        
        .form-label {
            font-weight: 500;
            margin-bottom: 0.5rem;
            color: var(--secondary-color);
        }
        
        .form-control {
            border-radius: 5px;
            padding: 0.5rem 1rem;
            border: 1px solid #ddd;
            transition: all 0.3s;
        }
        
        .form-control:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 0.25rem rgba(52, 152, 219, 0.25);
        }
        
        .btn-submit {
            background-color: var(--primary-color);
            border: none;
            padding: 0.5rem 2rem;
            font-weight: 500;
            transition: all 0.3s;
        }
        
        .btn-submit:hover {
            background-color: #2980b9;
            transform: translateY(-2px);
        }
        
        .error-message {
            color: var(--danger-color);
            font-size: 0.85rem;
            margin-top: 0.3rem;
        }
        
        .success-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s;
        }
        
        .success-modal.active {
            opacity: 1;
            visibility: visible;
        }
        
        .modal-content {
            background: white;
            padding: 2rem;
            border-radius: 10px;
            text-align: center;
            max-width: 500px;
            width: 90%;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            transform: translateY(-20px);
            transition: all 0.3s;
        }
        
        .success-modal.active .modal-content {
            transform: translateY(0);
        }
        
        .modal-icon {
            font-size: 3rem;
            color: var(--success-color);
            margin-bottom: 1rem;
        }
        
        .modal-btn {
            margin-top: 1.5rem;
        }
/*End-----------------------[ newsLetter Css]----------*/
/*End-----------------------[ messages Css]----------*/


        :root {
            --primary-color: #3498db;
            --secondary-color: #2c3e50;
            --success-color: #2ecc71;
            --danger-color: #e74c3c;
        }
        
        body {
            background-color: #f8f9fa;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        .form-container {
            background-color: white;
            border-radius: 10px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
            padding: 2rem;
            margin-top: 2rem;
        }
        
        .form-title {
            color: var(--secondary-color);
            font-weight: 600;
            margin-bottom: 1.5rem;
            position: relative;
            padding-bottom: 0.5rem;
        }
        
        .form-title:after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 60px;
            height: 3px;
            background: var(--primary-color);
        }
        
        .form-label {
            font-weight: 500;
            margin-bottom: 0.5rem;
            color: var(--secondary-color);
        }
        
        .form-control {
            border-radius: 5px;
            padding: 0.5rem 1rem;
            border: 1px solid #ddd;
            transition: all 0.3s;
        }
        
        .form-control:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 0.25rem rgba(52, 152, 219, 0.25);
        }
        
        textarea.form-control {
            min-height: 150px;
        }
        
        .btn-submit {
            background-color: var(--primary-color);
            border: none;
            padding: 0.5rem 2rem;
            font-weight: 500;
            transition: all 0.3s;
        }
        
        .btn-submit:hover {
            background-color: #2980b9;
            transform: translateY(-2px);
        }
        
        .error-message {
            color: var(--danger-color);
            font-size: 0.85rem;
            margin-top: 0.3rem;
        }
        
        .file-info {
            font-size: 0.85rem;
            color: #6c757d;
            margin-top: 0.3rem;
        }
        
        .success-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s;
        }
        
        .success-modal.active {
            opacity: 1;
            visibility: visible;
        }
        
        .modal-content {
            background: white;
            padding: 2rem;
            border-radius: 10px;
            text-align: center;
            max-width: 500px;
            width: 90%;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            transform: translateY(-20px);
            transition: all 0.3s;
        }
        
        .success-modal.active .modal-content {
            transform: translateY(0);
        }
        
        .modal-icon {
            font-size: 3rem;
            color: var(--success-color);
            margin-bottom: 1rem;
        }
        
        .modal-btn {
            margin-top: 1.5rem;
        }
/*End-----------------------[ messages Css]----------*/
/*start-----------------------[ newsLetter Css]----------*/
/*End-----------------------[ newsLetter Css]----------*/
