form {
    margin-bottom: 20px;
    padding: 10px;
    background: #f9f9f9;
}

label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

input,
select,
button {
    padding: 10px;
    width: 100%;
    margin-top: 5px;
    border: 1px solid #ccc;
}

button {
    background-color: var(--primary-Color);
    color: white;
    margin-top: 15px;
    font-weight: bold;
    cursor: pointer;
}

ul {
    list-style: none;
    padding: 0;
}





.catalog-container {
    padding: 20px;
    background-color: #fff;
    margin: 30px;
    width: 100%;
}



.catalog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.catalog-header h1 {
    font-size: 26px;
    font-weight: 600;
    color: #333;
}

.catalog-header a {
    background-color: var(--primary-Color);
    color: #fff;
    padding: 10px 16px;
    text-decoration: none;
    font-weight: bold;
    transition: ease-in-out 0.3s;
}

.catalog-header a:hover {
    background-color: var(--primary-Color);
}

.catalog-category {
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid #eee;
    background-color: #fafafa;
}

.catalog-category h3 {
    font-size: 20px;
    color: #222;
    margin-bottom: 10px;
}

.catalog-category a {
    margin-right: 10px;
    font-size: 14px;
    color: #007bff;
    text-decoration: none;
}

.catalog-category a:hover {
    text-decoration: underline;
}

.catalog-category form {
    display: inline-block;
    margin-top: 10px;
}

.catalog-category button {
    padding: 6px 12px;
    background-color: #dc3545;
    color: #fff;
    border: none;
    font-size: 13px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.catalog-category button:hover {
    background-color: #bb2d3b;
}

.catalog-category ul {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

.catalog-category li {
    padding: 8px 12px;
    margin-bottom: 8px;
    border: 1px solid #ddd;
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.catalog-categories-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}



.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.modal-box {
    background: #fff;
    padding: 20px 30px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
    text-align: center;
}

.modal-box p {
    font-size: 18px;
    margin-bottom: 20px;
}

.modal-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.modal-buttons button {
    padding: 10px 18px;
    font-weight: bold;
    border: none;
    cursor: pointer;
}

#confirmYes {
    background-color: #dc3545;
    color: #fff;
}

#confirmNo {
    background-color: #6c757d;
    color: #fff;
}

.hidden {
    display: none;
}


.alert-error {
    background-color: #ffe3e3;
    color: #d00000;
    border: 1px solid #ffb3b3;
    padding: 10px 15px;
    margin-bottom: 20px;
    font-weight: 500;
  }
  
  .alert-success {
    background-color: #e3ffe3;
    color: #009000;
    border: 1px solid #9fff9f;
    padding: 10px 15px;
    margin-bottom: 20px;
    font-weight: 500;
  }
  