/* Acunde campul prizaid in pagina de dashboar */

#hprizaid {
    display: none !important;
}
.errorWrap {
    padding: 10px;
    margin: 0 0 20px 0;
    background: #fff;
    border-left: 4px solid #dd3d36;
    -webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
    box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
}
.succWrap{
    padding: 10px;
    margin: 0 0 20px 0;
    background: #fff;
    border-left: 4px solid #5cb85c;
    -webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
    box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
}

/* --- FIX FINAL PENTRU DROPDOWNURI MATERIALIZE --- */

/* 1️⃣ Eliminăm orice tăiere vizuală sau de interacțiune */
.card,
.card-content,
.row,
.container {
  overflow: visible !important;
  position: static !important;
}

/* 2️⃣ Dropdownurile ies complet din carduri și sunt deasupra oricui */
.dropdown-content {
  position: absolute !important;
  z-index: 99999 !important;
  pointer-events: auto !important;
  transform: none !important; /* evită poziționări greșite */
}

/* 3️⃣ Asigurăm că dropdownurile pot depăși marginile ecranului */
html, body {
  overflow-x: visible !important;
  overflow-y: visible !important;
}

/* 4️⃣ Eliminăm eventualele stacking contexts care ar bloca clickurile */
.card::before, .card::after {
  display: none !important;
}


/* CSS pentru fereastra de mesaj */
/* Stil pentru popup */
  #customPopup {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
  }

  #popupBox {
    background: #fff;
    color: #333;
    padding: 25px 40px;
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.3);
    text-align: center;
    font-family: Arial, sans-serif;
    max-width: 400px;
    width: 90%;
    animation: fadeIn 0.3s ease;
  }

  #popupBox h3 {
    margin: 0 0 10px;
    color: #c0392b;
    font-size: 1.2em;
  }

  #popupBox button {
    background: #c0392b;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 20px;
    margin-top: 10px;
    cursor: pointer;
    font-weight: 600;
  }

  #popupBox button:hover {
    background: #a93226;
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
  }
  /* --- FIX FINAL PENTRU DROPDOWNURI MATERIALIZE --- */
.card, .card-content, .row, .container { 
    overflow: visible !important; 
    position: static !important; 
}
.dropdown-content { 
    position: absolute !important; 
    z-index: 99999 !important; 
    pointer-events: auto !important; 
    transform: none !important; 
}
html, body { 
    overflow-x: visible !important; 
    overflow-y: visible !important; 
}
.card::before, .card::after { 
    display: none !important; 
}

/* Popup centrat */
#customPopup { 
    display: none; 
    position: fixed; 
    inset: 0; 
    background: rgba(0,0,0,0.5); 
    z-index: 9999; 
    justify-content: center; 
    align-items: center; 
}
#popupBox { 
    background: #fff; 
    color: #333; 
    padding: 25px 40px; 
    border-radius: 16px; 
    box-shadow: 0 5px 25px rgba(0,0,0,0.3); 
    text-align: center; 
    font-family: Arial, sans-serif; 
    max-width: 400px; 
    width: 90%; 
    animation: fadeIn 0.3s ease; 
}
#popupBox h3 { 
    margin: 0 0 10px; 
    color: #c0392b; 
    font-size: 1.2em; 
}
#popupBox button { 
    background: #c0392b; 
    color: white; 
    border: none; 
    border-radius: 8px; 
    padding: 8px 20px; 
    margin-top: 10px; 
    cursor: pointer; 
    font-weight: 600; 
}
#popupBox button:hover { 
    background: #a93226; 
}
@keyframes fadeIn { 
    from { opacity: 0; transform: scale(0.9); } 
    to { opacity: 1; transform: scale(1); } 
}

#htel input:focus + label,
#htel input:not(:placeholder-shown) + label {
    top: -14px;
    font-size: 12px;
    color: #333; /* culoare după preferințe */
}