@import url('https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300..700;1,300..700&display=swap');
:root{
    font-family: 'Cormorant', serif;
}
h1{
    font-size: 2rem;
    font-weight: 700;

    font-family: 'Cormorant', serif;
}

h2{
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Cormorant', serif;
}


h3{
    font-size: 1.3rem;
    font-weight: 700;
    font-family: 'Cormorant', serif;
}

h4{
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Cormorant', serif;
}


button{
    background-color: #927c3f;
    color: white;
    border: none;
}

.btn-danger{
    background-color: #c2757c;
    color: white;
    border: none;
}

.logo-img{
    width: 100px;
    height: 100px;

    @media (max-width: 768px) {
        width: 50px;
        height: 50px;
    }
}

.space-between{
    margin-top: 35px;
    margin-bottom: 35px;
}


/* Stats Cards */
.grid article {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    border: 1px solid var(--card-border-color);
}

.grid article:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.grid article header h3 {
    margin: 0;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}


/* Recent Activity Lists */
.grid article ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.grid article ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--muted-border-color);
}

.grid article ul li:last-child {
    border-bottom: none;
}

.grid article ul li strong {
    color: var(--primary);
}

.grid article ul li small {
    color: var(--muted-color);
    font-size: 0.9rem;
}

/* Quick Actions */
.grid a[role="button"] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    min-height: 60px;
}

.grid a[role="button"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Charts Section */
section article {
    margin-bottom: 2rem;
}

section article header {
    border-bottom: 2px solid var(--primary);
    margin-bottom: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .grid {
        grid-template-columns: 1fr;
    }
    
    .grid a[role="button"] {
        min-height: 50px;
        font-size: 0.9rem;
    }
}

/* Low stock alert styling */
.grid article ul li:has(small:contains("Stock:")) {
    border-left: 3px solid #dc3545;
    padding-left: 0.5rem;
}

/* Icon styling */
.bi {
    font-size: 1.2em;
}

.edit-option{
    color: #66a549;
}

.generate-option{
    color: #007bff;
}

.observation-option{
    color: #6c757d;
}

.delete-option{
    color: #dc3545;
}

.send-email-option{
    color: #007bff;
}

.form-control[readonly]{
    background-color: #e4e8eca2;
    color: #6c757d;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
}

.message{
    height: 50px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.message-close{
    background-color: #f68888;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 0 10px;
    cursor: pointer;
}