/* ============================================
   FORMS STYLES
   ============================================ */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h2 {
    color: var(--primary-green);
    font-size: 2em;
    margin-bottom: 10px;
    font-weight: 700;
}

.modern-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95em;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1em;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg-white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

.form-group input.error,
.form-group textarea.error,
.form-group select.error,
.form-group input:invalid,
.form-group textarea:invalid {
    border-color: var(--accent-red);
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    color: white;
    padding: 16px 40px;
    border: none;
    border-radius: 12px;
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.form-errors {
    background: #ffebee;
    color: var(--accent-red);
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid var(--accent-red);
    margin-bottom: 20px;
}

.error {
    color: var(--accent-red);
    font-size: 0.9em;
    margin-top: 5px;
}

.success-message {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background: var(--bg-white);
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.success-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #4caf50, #2e7d32);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: bold;
    margin: 0 auto 30px;
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

.success-message h2 {
    color: var(--primary-green);
    font-size: 2em;
    margin-bottom: 20px;
    font-weight: 700;
}

.success-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 14px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--bg-light);
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.btn-secondary:hover {
    background: var(--primary-green);
    color: white;
}

/* Login Styles */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    padding: 40px 0;
}

.login-box {
    background: var(--bg-white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    max-width: 450px;
    width: 100%;
}

.login-box h2 {
    color: var(--primary-green);
    font-size: 1.8em;
    margin-bottom: 10px;
    text-align: center;
    font-weight: 700;
}

.login-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 0.95em;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.btn-login {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    color: white;
    padding: 14px 30px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1em;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.login-footer {
    margin-top: 30px;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.login-footer p {
    color: var(--text-light);
    font-size: 0.85em;
}

.messages-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
    position: relative;
    z-index: 100;
}

.alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-md);
    animation: slideDown 0.3s ease-out;
    position: relative;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-icon {
    font-size: 1.5em;
    font-weight: bold;
    flex-shrink: 0;
}

.alert-message {
    flex: 1;
    font-weight: 500;
}

.alert-close {
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    color: inherit;
    opacity: 0.7;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.alert-close:hover {
    opacity: 1;
    transform: scale(1.2);
}

.alert-success {
    background: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid #2e7d32;
}

.alert-error,
.alert-danger {
    background: #ffebee;
    color: #c62828;
    border-left: 4px solid #c62828;
}

.alert-warning {
    background: #fff3e0;
    color: #e65100;
    border-left: 4px solid #e65100;
}

.alert-info {
    background: #e3f2fd;
    color: #1565c0;
    border-left: 4px solid #1565c0;
}

/* Dashboard Styles */
.content-section {
    padding: 60px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    min-height: 60vh;
}

.page-header {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    padding: 80px 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h60v60H0z" fill="none"/><path d="M30 0l30 30-30 30L0 30z" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.3;
}

.page-title {
    font-size: 3em;
    margin: 0;
    font-weight: 800;
    position: relative;
    z-index: 1;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.dashboard-section {
    margin-bottom: 50px;
    background: var(--bg-white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.dashboard-title {
    font-size: 1.5em;
    color: var(--primary-green);
    margin-bottom: 25px;
    font-weight: 700;
    border-bottom: 2px solid var(--primary-green);
    padding-bottom: 10px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--bg-white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-icon {
    font-size: 2.5em;
    line-height: 1;
}

.stat-content h3 {
    font-size: 2em;
    color: var(--text-dark);
    margin: 0;
    font-weight: 700;
}

.stat-content p {
    color: var(--text-light);
    margin: 5px 0 0 0;
    font-size: 0.9em;
}

.stat-success {
    border-left: 4px solid #4caf50;
}

.stat-warning {
    border-left: 4px solid #ff9800;
}

.stat-danger {
    border-left: 4px solid #f44336;
}

.stat-primary {
    border-left: 4px solid var(--primary-green);
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.action-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    text-align: center;
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    color: var(--primary-green);
}

.action-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.action-card h3 {
    color: var(--primary-green);
    margin-bottom: 10px;
    font-size: 1.2em;
}

.action-card p {
    color: var(--text-light);
    font-size: 0.9em;
    margin: 0;
}

.table-container {
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    overflow-x: auto;
}

.dashboard-table {
    width: 100%;
    border-collapse: collapse;
}

.dashboard-table thead {
    background: var(--primary-green);
    color: white;
}

.dashboard-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dashboard-table td {
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.dashboard-table tbody tr:hover {
    background: #f5f5f5;
}

.status-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
}

.status-en_attente {
    background: #fff3e0;
    color: #f57c00;
}

.status-confirme,
.status-approuve {
    background: #e8f5e9;
    color: #2e7d32;
}

.status-rejete {
    background: #ffebee;
    color: #c62828;
}

.status-non_lu {
    background: #fff3e0;
    color: #f57c00;
}

.status-lu {
    background: #e3f2fd;
    color: #1976d2;
}

.status-repondu {
    background: #e8f5e9;
    color: #2e7d32;
}

.btn-small {
    display: inline-block;
    padding: 6px 15px;
    background: var(--primary-green);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.85em;
    font-weight: 600;
    transition: var(--transition);
}

.btn-small:hover {
    background: var(--primary-green-dark);
    transform: translateY(-2px);
}

.text-center {
    text-align: center;
    color: var(--text-light);
    padding: 20px;
}

/* Categories Filter */
.categories-filter {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.category-btn {
    padding: 12px 24px;
    background: var(--bg-white);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid #e0e0e0;
}

.category-btn:hover,
.category-btn.active {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    color: white;
    border-color: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
    padding: 30px;
}

.pagination-btn {
    padding: 12px 24px;
    background: var(--bg-white);
    color: var(--primary-green);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--primary-green);
}

.pagination-btn:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.pagination-info {
    color: var(--text-light);
    font-weight: 500;
}

/* Gallery Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    aspect-ratio: 1;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gallery-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.1);
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.video-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.video-thumbnail {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-green);
    cursor: pointer;
    transition: var(--transition);
}

.video-card:hover .play-button {
    background: var(--primary-green);
    color: white;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-content {
    padding: 25px;
}

.watch-btn {
    color: var(--accent-red);
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.watch-btn:hover {
    gap: 12px;
    color: var(--accent-orange);
}

.audios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.audio-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 20px;
    align-items: center;
    transition: var(--transition);
}

.audio-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.audio-icon {
    font-size: 48px;
    flex-shrink: 0;
}

.audio-content {
    flex: 1;
}

.audio-player {
    width: 100%;
    margin-top: 15px;
}

/* Article Detail */
.article-detail {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.article-featured-image {
    margin-bottom: 30px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-body {
    font-size: 1.1em;
    line-height: 1.9;
    color: var(--text-dark);
}

.article-body h2 {
    color: var(--primary-green);
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.8em;
}

.article-sidebar {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 16px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.article-sidebar h3 {
    color: var(--primary-green);
    margin-bottom: 20px;
    font-size: 1.4em;
}

.recent-articles {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.recent-article-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: var(--bg-white);
    border-radius: 12px;
    transition: var(--transition);
}

.recent-article-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-sm);
}

.recent-article-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.recent-article-item h4 {
    margin-bottom: 5px;
}

.recent-article-item h4 a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.95em;
}

.recent-article-item h4 a:hover {
    color: var(--primary-green);
}

.recent-article-item span {
    font-size: 0.85em;
    color: var(--text-light);
}

/* Project Detail */
.project-detail {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.project-featured-image {
    margin-bottom: 30px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.project-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.project-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.project-category {
    display: inline-block;
    padding: 6px 14px;
    background: var(--bg-light);
    color: var(--primary-green);
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
}

.project-body h2 {
    color: var(--primary-green);
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.8em;
    font-weight: 700;
}

.project-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.project-info-card,
.project-partners,
.project-testimonials,
.similar-projects {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.project-info-card h3,
.project-partners h3,
.project-testimonials h3,
.similar-projects h3 {
    color: var(--primary-green);
    margin-bottom: 20px;
    font-size: 1.3em;
    font-weight: 700;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item strong {
    color: var(--text-dark);
}

.partners-mini {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 15px;
}

.partner-mini {
    text-align: center;
    padding: 15px;
    background: var(--bg-white);
    border-radius: 8px;
}

.partner-mini img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
}

.testimonial-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.testimonial-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.testimonial-item img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.similar-project-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.similar-project-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.similar-project-item img {
    width: 100px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.similar-project-item h4 {
    margin-bottom: 5px;
}

.similar-project-item h4 a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.95em;
}

.similar-project-item h4 a:hover {
    color: var(--primary-green);
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.article-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.article-image {
    overflow: hidden;
    height: 220px;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.article-card:hover .article-image img {
    transform: scale(1.1);
}

.article-content {
    padding: 25px;
}

.article-category {
    display: inline-block;
    padding: 5px 12px;
    background: var(--bg-light);
    color: var(--primary-green);
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 600;
    margin-bottom: 12px;
}

.article-content h2 {
    margin-bottom: 12px;
}

.article-content h2 a {
    color: var(--primary-green);
    text-decoration: none;
    transition: var(--transition);
}

.article-content h2 a:hover {
    color: var(--accent-orange);
}

.article-meta {
    display: flex;
    gap: 15px;
    font-size: 0.9em;
    color: var(--text-light);
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.category-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 12px;
}

/* Gallery Placeholder */
.gallery-placeholder {
    width: 100%;
    height: 100%;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    color: var(--text-light);
    border-radius: 8px;
}

.placeholder-icon {
    font-size: 48px;
    margin-bottom: 10px;
    opacity: 0.5;
}

.placeholder-text {
    font-size: 0.9em;
    text-align: center;
    padding: 0 20px;
    opacity: 0.7;
}

/* Detail Pages Styles */
.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.detail-header h2 {
    color: var(--primary-green);
    font-size: 1.8em;
    margin: 0;
    font-weight: 700;
}

.detail-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.detail-section {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-green);
}

.detail-section h3 {
    color: var(--primary-green);
    font-size: 1.3em;
    margin-bottom: 20px;
    font-weight: 600;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.detail-item strong {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-item span {
    color: var(--text-dark);
    font-size: 1.1em;
}

.detail-item .amount {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--primary-green);
}

.detail-message {
    background: white;
    padding: 20px;
    border-radius: 8px;
    color: var(--text-dark);
    line-height: 1.8;
    white-space: pre-wrap;
}

.detail-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #e0e0e0;
    flex-wrap: wrap;
}

.btn-success {
    background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
}

.btn-danger {
    background: linear-gradient(135deg, #f44336 0%, #c62828 100%);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, #c62828 0%, #b71c1c 100%);
}

.status-annule {
    background: #ffebee;
    color: #c62828;
}

@media (max-width: 1024px) {
    .article-detail,
    .project-detail {
        grid-template-columns: 1fr;
    }
    
    .article-sidebar {
        position: static;
    }
    
    .detail-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .detail-grid {
        grid-template-columns: 1fr;
    }
    
    .detail-actions {
        flex-direction: column;
    }
    
    .detail-actions button {
        width: 100%;
    }
}

