:root{
	--brand-red: #dc2626;
	--text-muted: #6b7280;
	--whatsapp-green: #25D366;
}

/* WhatsApp Button Styles */
.whatsapp-btn {
    background: var(--whatsapp-green) !important;
    border-color: var(--whatsapp-green) !important;
    color: white !important;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn-small {
    background: var(--whatsapp-green) !important;
    border-color: var(--whatsapp-green) !important;
    color: white !important;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.2);
    font-size: 0.875rem;
}

.whatsapp-btn:hover,
.whatsapp-btn-small:hover {
    background: #128C7E !important;
    border-color: #128C7E !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    text-decoration: none;
}

.whatsapp-btn:active,
.whatsapp-btn-small:active {
    transform: translateY(0);
}

.whatsapp-btn svg,
.whatsapp-btn-small svg {
    transition: transform 0.3s ease;
}

.whatsapp-btn:hover svg,
.whatsapp-btn-small:hover svg {
    transform: scale(1.1);
}

/* WhatsApp Alert Info Styling */
.alert-info {
    background-color: rgba(37, 211, 102, 0.1);
    border-color: var(--whatsapp-green);
    color: #0f5132;
}

/* Refresh Button Styles */
.refresh-btn {
    background: var(--brand-red);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.refresh-btn:hover {
    background: #b91c1c;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

.refresh-btn:active {
    transform: translateY(0);
}

.refresh-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

@media (max-width: 767.98px) {
    .header-actions {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .refresh-btn {
        font-size: 12px;
        padding: 6px 12px;
    }
}
/* Basic styles for agenda cards */
.agenda-card {
    cursor: pointer;
}

.agenda-card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Stock Table Improvements */
.stock-table {
    border-radius: 8px;
    overflow: hidden;
}

.stock-table th {
    background-color: #f8fafc;
    font-weight: 600;
    color: #374151;
    border: none;
    padding: 1rem 0.75rem;
}

.stock-table td {
    padding: 0.875rem 0.75rem;
    border-color: #e5e7eb;
    font-weight: 500;
}

.stock-table tbody tr:hover {
    background-color: #f9fafb;
}

/* Responsive improvements */
@media (max-width: 767.98px) {
    .hero {
        min-height: 50vh;
    }
    
    .hero h1 {
        font-size: 1.75rem !important;
    }
    
    .hero .lead {
        font-size: 1rem !important;
    }
    
    .agenda-card .card-body {
        padding: 1.25rem !important;
    }
    
    .agenda-card .card-title {
        font-size: 1rem !important;
    }
    
    .flex-shrink-0 div {
        width: 40px !important;
        height: 40px !important;
    }
    
    .flex-shrink-0 svg {
        width: 16px !important;
        height: 16px !important;
    }
}

body{font-family: system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,"Apple Color Emoji","Segoe UI Emoji";}
.navbar-brand img{height:28px}
.btn-brand{background:var(--brand-red);color:#fff;border-color:var(--brand-red)}
.btn-brand:hover{background:#b91c1c;border-color:#b91c1c;color:#fff}
.btn-outline-brand{color:var(--brand-red);border-color:var(--brand-red);background:transparent}
.btn-outline-brand:hover{color:#fff;background:var(--brand-red);border-color:var(--brand-red)}
.hero{
	background:var(--brand-red);
	color:#fff;
	padding:48px 0;
}
.hero h1{font-weight:700;letter-spacing:.3px}
.section-title{font-weight:700;margin-bottom:16px}
.stock-table thead th{background:var(--brand-red);color:#fff}
.stock-table td,.stock-table th{vertical-align:middle}
.muted{color:var(--text-muted)}
.card-icon{width:18px;height:18px;opacity:.8;margin-right:6px}
.footer-bar{background:var(--brand-red);color:#fff;padding:20px 0;margin-top:40px}
.badge-rh{background:var(--brand-red)}
.table-note{font-size:.85rem;color:var(--text-muted)}

/* Remove border around mobile navbar toggler */
.navbar-toggler{border:0!important;box-shadow:none!important}
.navbar-toggler:focus,.navbar-toggler:active{outline:none;box-shadow:none!important}

/* Mobile navbar styles */
@media (max-width: 991.98px) {
    /* Hide desktop navbar on mobile */
    .navbar-collapse.d-none.d-lg-block {
        display: none !important;
    }
    
    .navbar-collapse {
        position: fixed;
        top: 70px;
        left: 15px;
        right: 15px;
        width: auto;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
        max-height: calc(100vh - 100px);
        background: white;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        z-index: 9999;
        display: flex !important;
        flex-direction: column;
        opacity: 0;
        visibility: hidden;
        transition: all 0.2s ease;
        transform: translateY(-10px);
        overflow: hidden;
    }
    
    .navbar-collapse.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .navbar-nav {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        text-align: left;
        padding: 0.5rem 0;
        margin: 0;
    }
    
    .navbar-nav .nav-item {
        margin: 0;
    }
    
    .navbar-nav .nav-link {
        color: #374151 !important;
        font-size: 0.95rem;
        font-weight: 500;
        padding: 0.75rem 1rem;
        border-radius: 0;
        transition: all 0.2s ease;
        position: relative;
        border-bottom: 1px solid #f3f4f6;
        text-align: left;
    }
    
    .navbar-nav .nav-item:last-child .nav-link {
        border-bottom: none;
    }
    
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        background: #f8fafc;
        color: var(--brand-red) !important;
    }
    
    .navbar-nav .nav-item:last-child {
        padding: 0.5rem 1rem;
    }
    
    .navbar-nav .btn-brand {
        background: var(--brand-red);
        border: none;
        color: white;
        padding: 0.75rem 1rem;
        font-weight: 600;
        border-radius: 6px;
        margin: 0;
        transition: all 0.2s ease;
        text-align: center;
        text-decoration: none;
        display: inline-block;
        font-size: 0.9rem;
    }
    
    .navbar-nav .btn-brand:hover {
        background: #b91c1c;
        color: white;
    }
    
    /* Simple close button */
    .mobile-menu-close {
        position: absolute;
        top: 8px;
        right: 8px;
        background: #f8fafc;
        border: none;
        font-size: 1.1rem;
        color: #6b7280;
        cursor: pointer;
        padding: 6px;
        border-radius: 4px;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease;
    }
    
    .mobile-menu-close:hover {
        background: #e5e7eb;
        color: #374151;
    }
}

/* Desktop navbar styles */
@media (min-width: 992px) {
    /* Hide mobile navbar on desktop */
    .navbar-collapse.d-lg-none {
        display: none !important;
    }
    
    /* Desktop navbar specific styles */
    .navbar-collapse.d-none.d-lg-flex {
        display: flex !important;
        position: static !important;
        flex-basis: auto;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        width: auto !important;
        max-width: none !important;
        margin: 0 !important;
        max-height: none !important;
        overflow: visible !important;
    }
    
    .navbar-nav-desktop {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 1rem !important;
        text-align: left !important;
        padding: 10px 0 0 0 !important;
        margin-left: auto !important;
        margin-right: 1rem !important;
        list-style: none !important;
    }
    
    .nav-link-desktop {
        padding: 0.5rem 0.75rem !important;
        border-bottom: none !important;
        text-align: center !important;
        transition: all 0.3s ease !important;
        color: #333 !important;
        font-weight: 500 !important;
        text-decoration: none !important;
        border-radius: 4px !important;
        white-space: nowrap !important;
        display: flex !important;
        align-items: center !important;
        height: 40px !important;
    }
    
    .nav-link-desktop:hover {
        color: var(--brand-red) !important;
        background-color: rgba(220, 53, 69, 0.1) !important;
        transform: translateY(-1px) !important;
    }
    
    .nav-link-desktop.active {
        color: var(--brand-red) !important;
        background-color: rgba(220, 53, 69, 0.15) !important;
        font-weight: 600 !important;
    }
    
    .nav-item-desktop {
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }
    
    .btn-brand-desktop {
        padding: 0.5rem 1rem !important;
        margin-left: 0.5rem !important;
        border-radius: 6px !important;
        font-weight: 500 !important;
        transition: all 0.3s ease !important;
        background-color: var(--brand-red) !important;
        color: white !important;
        border: 2px solid var(--brand-red) !important;
        text-decoration: none !important;
        display: flex !important;
        align-items: center !important;
        height: 40px !important;
        justify-content: center !important;
    }
    
    .btn-brand-desktop:hover {
        transform: translateY(-1px) !important;
        box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3) !important;
        background-color: #c82333 !important;
        border-color: #c82333 !important;
        color: white !important;
    }
    
    .mobile-menu-close {
        display: none !important;
    }
}

/* Hero card icons */
.hover-card {
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hover-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.card-icon {
    opacity: 0.9;
    transition: all 0.3s ease;
    display: block;
    text-align: center;
    margin-bottom: 20px;
}

.card-icon svg {
    width: 32px;
    height: 32px;
}

.hover-card:hover .card-icon {
    opacity: 1;
    transform: scale(1.1);
}

.hover-card .card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem 1rem;
}

.hover-card .card-title {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Brand color helpers */
.text-brand{color:var(--brand-red)!important}
.icon-brand{color:var(--brand-red)!important}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .card-icon {
        margin-bottom: 10px;
    }
    
    .card-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .hover-card .card-body {
        padding: 0.75rem 0.5rem;
    }
    
    .hover-card .card-title.small {
        font-size: 0.75rem;
    }
}

/* Pagination brand color */
.pagination{
    --bs-pagination-color: var(--brand-red);
    --bs-pagination-hover-color: #b91c1c;
    --bs-pagination-focus-color: var(--brand-red);
    --bs-pagination-active-bg: var(--brand-red);
    --bs-pagination-active-border-color: var(--brand-red);
    --bs-pagination-focus-box-shadow: 0 0 0 .25rem rgba(220,38,38,.25);
}
.pagination .page-item.disabled .page-link{color:var(--text-muted)}

/* News card spacing improvements */
.news-card {
    margin-bottom: 1.5rem;
}

.news-card .card {
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-card .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.news-card .row.g-0 {
    gap: 1rem !important;
}

.news-card .col-4,
.news-card .col-8 {
    flex: none;
}

.news-card .col-4 {
    width: calc(35% - 0.5rem);
}

.news-card .col-8 {
    width: calc(65% - 0.5rem);
}

.news-card .col-4 > div {
    border-radius: 8px;
    overflow: hidden;
    height: 120px;
}

.news-card .card-body {
    padding: 1.25rem;
}

.news-card .card-title {
    font-size: 1.1rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: #1f2937;
}

.news-card .text-muted {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #6b7280;
}

.news-card .btn {
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

/* Additional mobile spacing for news cards */
@media (max-width: 767.98px) {
    .news-card {
        margin-bottom: 2rem !important;
    }
    
    .news-card .card {
        border-radius: 12px !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    }
    
    .news-card .row.g-0 {
        gap: 1rem !important;
    }
    
    .news-card .col-4 {
        width: calc(30% - 0.5rem) !important;
        flex: none !important;
    }
    
    .news-card .col-8 {
        width: calc(70% - 0.5rem) !important;
        flex: none !important;
    }
    
    .news-card .col-4 > div {
        aspect-ratio: 1/1 !important;
        border-radius: 8px !important;
        overflow: hidden !important;
        height: 80px !important;
        width: 80px !important;
    }
    
    .news-card .card-body {
        padding: 1rem !important;
    }
    
    .news-card .card-title {
        font-size: 0.95rem !important;
        line-height: 1.3 !important;
        margin-bottom: 0.5rem !important;
        font-weight: 600 !important;
    }
    
    .news-card .text-muted {
        margin-bottom: 0.75rem !important;
        font-size: 0.8rem !important;
    }
    
    .news-card .btn {
        margin-top: 0.5rem !important;
        padding: 0.375rem 0.75rem !important;
        font-size: 0.8rem !important;
    }
}

@media (max-width: 575.98px){
	.hero{padding:32px 0}
	.navbar .btn{padding:.25rem .5rem}
	.stock-table thead th{font-size:.9rem}
	.stock-table td{font-size:.95rem}
	
	/* Mobile news card adjustments */
	.news-card .row.g-0 {
		gap: 1rem !important;
	}
	
	.news-card .col-4 {
		width: calc(35% - 0.5rem);
	}
	
	.news-card .col-8 {
		width: calc(65% - 0.5rem);
	}
	
	.news-card .card-body {
		padding: 0.75rem !important;
	}
	
	.news-card .card-title {
		font-size: 0.9rem !important;
		line-height: 1.3 !important;
		margin-bottom: 0.5rem !important;
	}
	
	.news-card .btn {
		margin-top: 0.75rem !important;
		font-size: 0.8rem !important;
		padding: 0.25rem 0.5rem !important;
	}
}

