/* ===========================
    GLOBAL STYLES
  =========================== */

.panier {
    font-size: 3em;
    color: black;
    cursor: pointer;
    z-index: 24;
    transition: color 0.3s ease, transform 0.2s ease;
}

.panier:hover {
    color: #ff004c;
    transform: scale(1.1);
}

.notif {
    width: 35px;
    height: 35px;
    line-height: 30px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: red;
    color: white;
    font-weight: bold;
    font-size: 14px;
    border-radius: 50%;
    opacity: 0;
    z-index: 25;
    transition: opacity 0.3s ease;
}

#Pan {
    background-color: #ffffffc4;
    width: 10%;
    height: 8vh;
    position: fixed;
    right: 1%;
    top: 20%;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    border-radius: 15px;
}

/* ===========================
    BOUTIQUE
  =========================== */
.boutique-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 0;
    padding: 20px;
}

.article {
    background-color: rgba(0, 0, 0, 0.932);
    border: 2px solid #ddd;
    border-radius: 8px;
    text-align: center;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(255, 0, 76, 0.3);
    transition: transform 0.2s ease;
}

.article:hover {
    transform: scale(1.05);
}

.article img {
    width: 250px;
    height: 250px;
    border-radius: 4px;
}

.article h2 {
    font-size: 18px;
    margin: 10px 0;
    color: white;
}

.article p {
    font-size: 16px;
    font-weight: bold;
    color: #fdfdfd;
}

.actions {
    margin-top: 10px;
}

.confirmation-message {
          position: fixed;
          display: flex;
          justify-content: center;
          z-index: 1000;
          color: white;
          padding: 10px 15px;
          border-radius: 5px;
          font-size: 14px;
          text-align: center;
          top: 14%;
          left: 94%;
          transform: translateX(-50%);
          opacity: 1;
          transition: opacity 0.5s ease-out;
          width: 10vw;
}

.article button {
    padding: 10px 15px;
    margin: 5px;
    font-size: 14px;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

.add-btn,
.remove-btn {
    background-color: #fc87cb;
    color: black;
}

.add-btn:hover,
.remove-btn:hover {
    background-color: #ff5eaa;
}

.add-btn:active,
.remove-btn:active {
    transform: scale(0.95);
}

.shop {
    width: 99%;
    height: 65vh;
    position: fixed;
    overflow-y: scroll;
    top: 35%;
    left: 0.5%;
    margin: auto;
    padding: 10px;
    border: 3px solid white;
    border-radius: 20px;
    background-color: transparent;
    backdrop-filter: blur(30px);
    box-shadow: 0 5px 15px rgba(255, 0, 76, 0.3);
}

h3 {
    text-align: center;
    color: white;
    font-size: 35px;
    font-weight: bold;
    text-decoration: underline;
}

form {
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: rgba(255, 255, 255, 0.432);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(255, 0, 76, 0.3);
}

.renseignement {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.renseignement div {
    width: 48%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

label {
    font-size: 14px;
    font-style: italic;
    font-weight: bold;
    margin-top: 10px;
    color: black;
}

input,
select {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    color: black;
    border: 1px solid white;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 5px 15px rgba(255, 0, 76, 0.3);
    transition: border-color 0.3s;
}

input:focus,
select:focus {
    border-color: #ff004c;
    outline: none;
}

input::placeholder {
    color: rgba(31, 25, 25, 0.7);
    }

.valid {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.valider {
    padding: 12px 20px;
    font-size: 16px;
    color: white;
    background: #ff004c;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s, transform 0.1s;
}

.valider:hover {
    background: #d90042;
}

.valider:active {
    transform: scale(0.95);
}

thead,
.total {
    text-decoration: underline;
}

td {
    text-align: center;
}

.admin-barre {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.admin-actions-globales {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px;
}

.admin-btn,
.admin-btn-supprimer,
.ajout-btn {
    padding: 10px 16px;
    font-weight: bold;
    font-size: 14px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s;
}

.admin-btn {
    background-color: #ff3399;
    color: white;
}

.admin-btn:hover {
    background-color: #cc0077;
}

.admin-btn-supprimer {
    background-color: #ff3333;
    color: white;
}

.admin-btn-supprimer:hover {
    background-color: #cc0000;
}

.ajout-btn {
    background-color: #33cc33;
    color: white;
}

.ajout-btn:hover {
    background-color: #249f24;
}

.message-confirmation {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 12px;
    margin: 20px auto;
    max-width: 600px;
    text-align: center;
    border-radius: 8px;
    font-weight: bold;
    animation: fadein 0.4s ease;
}

@keyframes fadein {
from {
    opacity: 0;
    transform: translateY(-10px);
}
to {
    opacity: 1;
    transform: translateY(0);
}
}
