@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

:root {--bs-font-sans-serif: poppins}

.icon{
    font-family: system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans","Liberation Sans",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";

} 


.news-cards-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

.cards-header {
    margin-bottom: 30px;
}

.cards-header h2 {
    color: #333;
    font-size: 28px;
    margin: 0 0 10px 0;
}

.cards-header p {
    color: #666;
    margin: 0;
}

.news-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    transform: translateY(-4px);
}

.card-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgb(246, 129, 33) 0%, #ffffff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    position: relative;
}

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: rgb(246, 129, 33);
}

.card-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 20px;
    color: rgb(246, 129, 33);
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
    line-height: 1.4;
}

.card-title:hover {
    color: rgb(246, 129, 33);
    text-decoration: underline;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    color: #999;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.card-date {
    display: flex;
    align-items: center;
    gap: 5px;
}

.card-date::before {
    content: "🕘";
}

.card-status {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: auto;
}

.status-unread {
    color: rgb(246, 129, 33);
    font-weight: 600;
}

.status-read {
    color: rgb(246, 129, 33);
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    grid-column: 1 / -1;
}

.empty-state-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .news-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* Force style for the user dropdown in the header */
header li.nav-item.dropdown ul.dropdown-menu.show a.dropdown-item {
    color: white !important;             
}

/* Hover effect */
header li.nav-item.dropdown ul.dropdown-menu.show a.dropdown-item:hover {
    color: white !important;            
}

.navbar .dropdown-menu a,
.navbar .dropdown-menu .dropdown-item {
    color: white !important;
}

.navbar .dropdown-menu a:hover,
.navbar .dropdown-menu .dropdown-item:hover {
    color: white !important;
    background-color: rgb(246, 129, 33) !important;
}


.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus {
    color: white !important;
}


li.navbar-item a.nav-link:hover {
    color: white !important;
}

.top-nav a:hover {
    color: white !important;
}

.btn.disabled,.btn:disabled,fieldset:disabled .btn {
    color: white;
    pointer-events: none;
    background-color: #6c757d;
    border-color: #6c757d;
    opacity: var(--bs-btn-disabled-opacity)
}


.form-control:focus{
    color:#212529;
    background-color:#fff;
    border-color: rgb(246, 129, 33);
    outline:0;
    box-shadow: none; 
}
