/* _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ */
/* DASHBOARD */

.admin-edit-buttons {
  padding: 2px;
  display: inline-block;
      background: rgba(50,50,50,0.2);
      border-radius: 3px;
      box-shadow:inset 0 0 5px 0 rgba(0,0,0,0.3);
      border: 1px solid rgba(50,50,50,0.5);
      font-size: 18px;
  }

  .admin-edit-buttons-large {
    padding: 5px 15px;
    display: inline-block;
        background: rgba(50,50,50,0.2);
        border-radius: 4px;
        box-shadow:inset 0 0 5px 0 rgba(0,0,0,0.3);
        border: 1px solid rgba(50,50,50,0.5);
        font-size: 12px;
        font-weight:800;
    }



.admin-content {
    background-color: rgba(0, 0, 0, 0.3);
    padding:20px;
    border-radius: 6px;
}

.user-list {
  padding:5px;
  font-size:12px;
}

.dashboard-panel {
  background-color: rgba(0, 0, 0, 0.3);
  padding:30px 0;
  border-radius: 6px;
  border:1px solid rgba(255,255,255,0.1);
  display:flex;
  flex-direction: column;
  justify-content: center;
}

.dashboard-card-title {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    padding:0 0 20px 0;
    margin:0;
}

.dashboard-card-number {
  font-size: 30px;
  font-weight: 800;
  text-transform: uppercase;
  padding:0;
  margin:0;
}



/* _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ */
/* ADMIN MODAL */

.admin-modal-overlay {
  position: fixed;
  overflow:auto;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0);
  backdrop-filter: blur(0px);
  justify-content: center;
  align-items: center;
  z-index: 9999999;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.3s ease, background 0.3s ease, backdrop-filter 0.3s ease;
}

.admin-modal-overlay.active {
  display: flex;
  align-items:start;
  backdrop-filter: blur(4px);
  opacity: 1;
  background: rgba(0,0,0,0.8);
  pointer-events: auto;
  visibility: visible;
  animation: fadeInUp 0.3s ease-out;
  padding:50px 0;
}

.admin-modal-overlay.closing {
  animation: fadeOutDown 0.3s ease-out;
}

.admin-modal {
  height:auto;
  width: 90vw;
  max-width:1200px;
  border-radius: 5px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.admin-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgb(0, 0, 0);
  color: #fff;
  padding: 5px 20px;
  border-top:1px solid #666;
  border-left:1px solid #666;
  border-right:1px solid #666;
  border-top-right-radius: 5px;
  border-top-left-radius: 5px;
  transition: all 0.3s ease;
}

[data-theme="light"] .admin-modal-header {
  background: #ffffff;
  color: #000;
  
}

.admin-modal-title {
  margin: 0;
  font-size: 0.9rem;
}

.admin-modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: rgb(240, 240, 240);
  cursor: pointer;
  transition: color 0.3s ease;
}

[data-theme="light"] .admin-modal-close {

  color: rgb(15, 15, 15);
}

.admin-modal-wrap {
  padding: 0;
  background: rgb(12, 12, 12);
  height:auto;
  border-left:1px solid #666;
  border-right:1px solid #666;
  border-bottom:1px solid #666;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;

  transition: background-color 0.3s ease;
  overflow:hidden;
}

[data-theme="light"] .admin-modal-wrap {
  background: rgb(255, 255, 255);
}

.admin-modal-body {
  position:relative;
  padding: 1.5rem;
  overflow:hidden;
}

.admin-modal-body:before {
  content: "";
  position:absolute;
left:-25%;
top:0;
width:150%;
height:100%;

    box-shadow: inset 0 0 10px rgba(0,0,0,0.4);
}


.admin-modal-footer {
  background: rgb(0, 0, 0);
  padding: 15px 20px;
  transition: background-color 0.3s ease;
}
[data-theme="light"] .admin-modal-footer {
  background: rgb(255, 255, 255);
}


.admin-modal-message {
  padding: 1rem;
  margin-top: 1rem;
  border-radius: 5px;
}

.admin-modal-message.success {
  background-color: #d4edda;
  color: #155724;
}

.admin-modal-message.error {
  background-color: #f8d7da;
  color: #721c24;
}


@keyframes fadeInUp {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeOutDown {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}




.admin-modal-form {
  margin: auto;
}


.admin-modal-form label {
  color: rgb(240, 240, 240);
  transition: color 0.3s ease;
}

[data-theme="light"] .admin-modal-form label {
  color: rgb(15,15,15);
}

.admin-modal-form .input-container {
  position: relative;
  margin-bottom: 30px;
  width:100%;
}

/* Štýly pre input */
.admin-modal-form .input-container input:not([type="checkbox"]) {
  width: 100%;
  height: auto;
  padding: 3px 10px;
  margin-top:10px;
  background: none;
  border: none;
  border-bottom: 1px solid;
  border-color: rgba(200,200,200,0.6);
  color: rgb(240, 240, 240);
  font-size: 15px;
  font-weight:500;
  font-family: inherit;
  outline: none;
  transition: border-color 0.3s ease, color 0.3s ease;
}

[data-theme="light"] .admin-modal-form .input-container input:not([type="checkbox"]) {
  color: rgb(15, 15, 15);
  border-color: rgba(100,100,100,0.6);
}

.admin-modal-form .input-container input[type="checkbox"] {
margin-left:20px;
}

.admin-modal-form .input-container input:-webkit-autofill {
  
  background-color: transparent !important; /* Pokus o priesvitné pozadie */
  -webkit-text-fill-color: var(--main-text-color); /* Farba textu */
  transition: background-color 5000s ease-in-out 0s; /* Oddialenie vykreslenia farby */
}

.admin-modal-form .input-container input:focus {
  border-color: rgb(80, 80, 80);
}

/* Štýly pre label */


/* Pohyb labelu pri focus alebo ak je input vyplnený */
.admin-modal-form .input-container input:focus + label,
.admin-modal-form .input-container input:not(:placeholder-shown) + label {
  top: 0;
  transform: translateY(-40%);
  font-size: 10px;
  font-weight:600;
  color: rgb(240, 240, 240);
  transition:all 0.3;
}

[data-theme="light"] .admin-modal-form .input-container input:focus + label,
[data-theme="light"] .admin-modal-form .input-container input:not(:placeholder-shown) + label {
  top: 0;
  transform: translateY(-40%);
  font-size: 10px;
  font-weight:600;
  color: rgb(15, 15, 15);
  
}

.admin-modal-form button {
width: auto;
  height:auto;
padding: 10px 15px;
background: rgba(40, 167, 69, 1);
border: none;
border-radius: 4px;
color: rgb(255, 255, 255);
text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
font-size: 15px;
font-weight:300;
  font-family: inherit;
outline: none;
transition: all .2s ease-in-out;
box-shadow: none;
}
.admin-modal-form button:hover {
  background: rgb(30, 148, 58);
transition: all .2s ease-in-out;
box-shadow: inset 1px -1px 5px 0px rgba(0, 0, 0, 0.3);
}



.admin-modal-form textarea {
  width: 100%;
  margin-top:-10px;
  height: 100%;
  padding: 5px 10px 0px 10px;
  background: none;
  min-height:250px;
  border: none;
  border-bottom: 1px solid #666;
  color: rgb(240,240,240);
  font-weight: 400;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.3;
  border-radius: 3px;
  overflow:hidden;
  transition: all 0.3s ease;
  resize: none;
}

[data-theme="light"] .admin-modal-form textarea {
  color: rgb(15,15,15);
}



.admin-modal-form .input-container > label.textarea-input {
  position: absolute;
  padding-left:5px;
  bottom:15px;
  left: 0;
  transform: translateY(0px);
  color: rgb(15,15,15);
  font-size: 11px;
  font-weight:300;
  transition: all 0.3s ease-in-out;
  pointer-events: none;
}

.admin-modal-form .input-container textarea:focus + label,
.admin-modal-form .input-container textarea:not(:placeholder-shown) + label {
  bottom: 100%;
  transform: translateY(-8px);
  font-size: 10px;
  font-weight:400;
  color: rgb(240,240,240);
  transition: all 0.3s ease-in-out;
}

[data-theme="light"] .admin-modal-form .input-container textarea:focus + label,
[data-theme="light"] .admin-modal-form .input-container textarea:not(:placeholder-shown) + label {
  color: rgb(15,15,15);
}

.admin-modal-form .input-container > label.input-input {
  transition: all 0.3s ease-in-out;
  position: absolute;
  padding-left:5px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  color: rgb(240, 240, 240);
  font-size: 11px;
  font-weight:500;
  pointer-events: none;
}

[data-theme="light"] .admin-modal-form .input-container > label.input-input {
  color: rgb(15, 15, 15);
}



.drag-handle {
  position:relative;
  font-size:20px;
  margin:10px;
}


.admin-menu-border {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 5px;
  background: rgba(100,100,100,0.1);
  width:fit-content;
  margin:20px 0px;
  padding:5px;
}

.admin-modal-form select {
  border: 1px solid rgb(50,50,50);
  box-shadow: none;
 display:flex;
  padding: 10px;
  color: #fff;
  background-color: rgb(20, 20, 20);
  cursor: pointer;
    min-width: 20em;
  height: 3em;
  border-radius: .25em;
  overflow: hidden;
  transition: all 0.3s ease;
}

[data-theme="light"] .admin-modal-form select {
  background-color: rgb(230, 230, 230);
  color: rgb(15,15,15);
}
