/* assets/css/style.css */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    color: #333;
    max-width: 90%;
    margin: auto;
    padding: 20px;
}

h1, h2 {
    color: #4CAF50;
}

.scanner {
    margin-bottom: 20px;
}

.inventory-list ul {
    list-style-type: none;
}

.inventory-list li {
    padding: 8px;
    border-bottom: 1px solid #ccc;
}
form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
    margin: 0 auto;
}

label {
    font-weight: bold;
}

input, textarea, button {
    padding: 10px;
    font-size: 16px;
}

button {
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #45a049;
}

.success {
    color: green;
}

.error {
    color: red;
}
/* Navigation Menu Styles */
 nav {
        background-color: #4CAF50;
        padding: 10px;
    }

    .nav-links {
        list-style-type: none;
        padding: 0;
        margin: 0;
        display: flex;
        gap: 15px;
    }

    .nav-links li {
        display: inline;
    }

    .nav-links li a {
        text-decoration: none;
        padding: 10px 15px;
        background-color: #4CAF50;
        color: white;
        border-radius: 5px;
        font-weight: bold;
        display: block;
    }

    .nav-links li a:hover {
        background-color: #45a049;
    }

    /* Mobile Menu */
    .menu-toggle {
        display: none;
        background: #4CAF50;
        color: white;
        border: none;
        padding: 10px 15px;
        font-size: 18px;
        cursor: pointer;
    }

    @media (max-width: 768px) {
        .menu-toggle {
            display: block;
            width: 100%;
            text-align: left;
        }

        .nav-links {
            display: none;
            flex-direction: column;
            width: 100%;
            background: #4CAF50;
        }

        .nav-links li {
            text-align: center;
            padding: 10px;
        }

        .nav-links.active {
            display: flex;
        }
    }
/* Style for the action buttons container */
.action-buttons {
    display: flex;
    gap: 10px; /* Adds space between the buttons */
    justify-content: center; /* Centers the buttons horizontally */
}

/* Style for the Edit button */
.edit-btn,.damage-btn {
    background-color: #4CAF50; /* Green background */
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.edit-btn:hover {
    background-color: #45a049; /* Darker green on hover */
}

/* Style for the Delete button */
.delete-btn {
    background-color: #f44336; /* Red background */
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.delete-btn:hover {
    background-color: #e53935; /* Darker red on hover */
}

/* Optional: Button Disabled State */
.edit-btn:disabled,
.delete-btn:disabled {
    background-color: #cccccc; /* Light gray */
    cursor: not-allowed;
}

