html, body {
    display: flex;
    flex-direction: column;
    font-family: Arial, sans-serif;
    background-color: #ececec;
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #c3e6cb;
    border-radius: 5px;
    text-align: center;
}

.error-message {
    background-color: #edd4d4;
    color: #571515;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #e6c3c3;
    border-radius: 5px;
    text-align: center;
}

.add-category-btn {
    position: fixed; 
    bottom: 30px; 
    right: 30px; 
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f3f3f3; 
    border: 1px solid #2e8b57;
    width: 80px; 
    height: 80px; 
    border-radius: 20%;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); 
    cursor: pointer; 
    z-index: 1000; 
    outline: none; 
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.2s, box-shadow 0.2s;
}

.add-category-btn a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none; 
    color: white; 
}

.add-category-btn:hover {
    transform: scale(1.1);  
}

.edit-icon {
    z-index: 9999;
    width: 60%;
    height: 60%;
}

footer {
    background-color: #2C5F2D;
    color: #F2F2F2; 
    padding: 10px 0;
}

footer p {
    display: flex;
    align-items: center;
    justify-content: center;
}

footer p a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F2F2F2;
    text-decoration: none;
    transition: color 0.3s ease;
    margin: 0 8px;
}

footer p a:hover,
footer p a:focus {
    color: #A8D08D;
    outline: none;
}

footer p .separator {
  color: #F2F2F2;
  margin: 0 8px;
  user-select: none;
}


@media (max-width: 1024px) {
    footer {
        padding: 15px 0; 
    }

    footer p {
        font-size: 0.9rem; 
    }
}

@media (max-width: 768px) {
    footer {
        padding: 15px 0; 
    }

    footer p {
        font-size: 0.8rem; 
        margin: 0;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 15px 0; 
    }

    footer p {
        font-size: 0.7rem; 
        margin: 0;
    }
}

/* COOKIE BANNER */
/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2c3e50;
    color: white;
    padding: 15px 20px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 9999;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.cookie-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.4;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.cookie-btn.accept {
    background: #27ae60;
    color: white;
}

.cookie-btn.accept:hover {
    background: #229954;
}

.cookie-btn.decline {
    background: #95a5a6;
    color: white;
}

.cookie-btn.decline:hover {
    background: #7f8c8d;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
}