/* SETTING only card */

.cardsetting {
    font-weight: 200;
    font-family: "Roboto", sans-serif;
    transition: all 0.25s ease;
    position: relative;
    margin: 50% 8%; 
    display: grid;
    grid-template-columns: 800px 800px;
    grid-template-rows: 800px 800px;
    grid-gap: 0em;
    grid-template-areas: 
    "a b"
    "c c";
    width: 900px;
    margin-top: 0.5%;
  }
  
  .cardsetting-content {
    position: absolute;
    top: 0;
    left: 0;
    height: 700px;
    min-height: 70%;
    min-width: 75%;
    box-shadow: 0 0 20px var(--shadow-color);
    border-radius: 20px;
  }
  .cardsetting-content2 {
    position: absolute;
    top: 0;
    left: -63px;
    width: 1474px;
    height: max-content;
    min-height: 30%;
    min-width: 75%;
    box-shadow: 0 0 20px var(--shadow-color);
    border-radius: 20px;
  }
  .cardsetting:last-child {
    margin-bottom: 0;
  }
  
  .cardsetting:before {
    height: 0;
    content: "";
    display: block;
    padding-bottom: 47.36%;
  }
  
  .cardsetting.content:after {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    content: "";
    
  }
  .cardsetting-label {
    position: absolute;
    top: -2rem;
    left: 0rem;
    background: #089f8ac0;
    text-transform: uppercase;
    font-weight: 300;
    font-size: 0.7em;
    color: white;
    padding: 0.5em;
  }
  .cardsetting:last-child {
    margin-bottom: 0;
  }
  .cardsetting:before {
    height: 0;
    content: "";
    display: block;
    padding-bottom: 47.36%;
  }
  .cardsetting:nth-child(1) {
    grid-area: a;
  }
  .cardsetting.form:after {
    position: absolute;
    top: .5em;
    left: .5em;
    width: calc(100% - 1em);
    height: calc(100% - 1em);
    content: "";
    background: #252833;
  }
  .cardsetting:nth-child(2) .card-label {
    background: #ef4e7ac0;
  } 
  
  .cardsetting-graph {
    position: absolute;
    padding: 5px 0px 0px 0px;
    width: 100%;
    height: 100%;
  }
  
  .cardsetting:nth-child(1) {
    grid-area: a;
  }
  
  .cardsetting:nth-child(2) {
    grid-area: b;
  }
  
  .cardsetting:nth-child(3) {
    grid-area: c;
  }
  
  .cardsetting-title {
    position: absolute;
    left: 1em;
    bottom: 1em;
    color: #d6dbeb;
    z-index: 0;
    font-size: calc(0.8em - 0.1em);
  }
  
  /* Редакт визуал для input label */
  
  .input-containersett {
    left: 18px;
    height: 50px;
    position: relative;
    width: 95%;
  }
  
  .ic1sett {
    margin-top: 30px;
  }
  
  .ic2sett {
    margin-top: 20px;
  }
  
  .inputsett {
    background-color: var(--sidebar-color);
    border-radius: 12px;
    border: 0px solid;
    color: var(--text-color);
    font-size: 18px;
    height: 100%;
    outline: 0;
    padding: 4px 20px 0;
    width: 100%;
    font-family:fantasy;
  }
  
  .cutsett {
    background-color: var(--body-color);
    border-radius: 10px;
    height: 20px;
    left: 20px;
    position: absolute;
    top: -30px;
    transform: translateY(0);
    transition: transform 200ms;
    width: 200px;
    font-size: 18px;
  }
  
  .cut-shortsett {
    width: 100px;
  }
  
  .inputsett:focus ~ .cutsett,
  .inputsett:not(:placeholder-shown) ~ .cutsett {
    transform: translateY(12px);
  }
  
  .placeholdersett {
    color: var(--text-title);
    left: 20px;
    line-height: 14px;
    pointer-events: none;
    position: absolute;
    transform-origin: 0 50%;
    transition: transform 200ms, color 200ms;
    top: 20px;
    font-size: x-large;
    font-family: fantasy;
  }
  
  .inputsett:focus ~ .placeholdersett,
  .inputsett:not(:placeholder-shown) ~ .placeholdersett {
    transform: translateY(-40px) translateX(10px) scale(0.75);
  }
  
  .inputsett:not(:placeholder-shown) ~ .placeholdersett {
    color: #808097;
  }
  
  .inputsett:focus ~ .placeholdersett {
    color: var(--text-color);
  }
  
  .submitsett {
    position: relative;
    background-color: var(--primary-color);
    border-radius: 12px;
    border: 0;
    color: #eee;
    cursor: pointer;
    font-size: 18px;
    height: 50px;
    margin-top: 38px;
    text-align: center;
    width: 95%;
    left: 18px;
  }
  
  .StatusServ {
    position: relative;
    border-radius: 12px;
    border: 0;
    width: 95%;
    top: 20px;
    left: 18px;
  }
  
  .submitsett:active {
    background-color: #06b;
  }
  
  p {
    margin-bottom: 0;
  }
  a, a:link, a:hover, a:visited {
    color: #808097;
    text-decoration: none;
  }
  a:hover {
    text-decoration: underline;
  }
  
  /* CARD SETTING end */


.dropdown {
    margin-bottom: 15px;
    border-radius: 12px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background-color: #e0ebf7;
    transition: all 0.3s ease;
    width: 1474px;
}

.dropdown-header {
    padding: 10px;
    background-color: var(--sidebar-color);
    color: var(--text-title);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 12px;
}

.dropdown-content {
    display: none;
    padding: 10px;
    background-color: #ffffff;
}

.dropdown.active .dropdown-content {
    display: block;
    box-shadow: 0 5px 10px var(--shadow-color);
}

.dropdown.active .dropdown-header {
    background-color: var(--primary-color);
    color: var(--body-color);
}

input[type="text"], input[type="number"], input[type="email"], input[type="password"], input[type="date"] {
    width: 300px;
    padding: 8px;
    margin-top: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.button {
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--body-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0px 4px 6px var(--shadow-color);
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #52a0ce;
}

.notification {
  position: fixed;
  bottom: 50px;
  right: 20px;
  background-color: var(--primary-color);
  color: white;
  padding: 10px 20px;
  border-radius: 16px;
  box-shadow: 0px 4px 6px var(--shadow-color);
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.notification.show {
  display: block;
  opacity: 1;
}