.pad-cont {

  width: 100%;

  height: 95vh;

  display: flex;

  justify-content: center;

  align-items: center;

}



.lside-cont {

  height: 100%;

  width: 80%;

  margin-right: 20px;

}



.rside-cont {

  background: var(--darkgray);

  height: 100%;

  width: 20%;

  border-radius: 20px;

  border: 1px solid #191919;

}



.q-coop-cont {

  background: var(--darkgray);

  border-radius: 20px;

  width: 100%;

  display: flex;

  flex-wrap: wrap;

  gap: 20px;

  align-items: center;

  border: 1px solid #191919;

}



.coop-item {

  background: #0d0d0d;

  border-radius: 10px;

  padding: 20px;

  display: flex;

  flex-direction: column;

  justify-content: center;

  align-items: flex-start;

  border: 1px solid #191919;

  width: calc(50% - 10px);

}



.coop-item:nth-child(n + 7) {

  display: none;

}



.coop-item-stats {

  display: flex;

  justify-content: center;

  align-items: center;

  flex-direction: column;

  width: 100%;

}



.coop-item-info-stats {

  display: flex;

  justify-content: space-between;

  align-items: center;

  flex-direction: row;

  width: 100%;

}



.coop-item-pl {

  width: 100%;

  height: 3px;

  background: #181818;

  border-radius: 10px;

  position: relative;

  overflow: hidden;

  margin-top: 10px;

}



.coop-item-pl-status {

  position: absolute;

  left: 0;

  top: 0;

  height: 100%;

  width: 40%;

  background: linear-gradient(90deg, #ffe866, #fd9dff, #7ce3ff);

  border-radius: 10px;

  transition: width 0.3s ease;

}



.coop-item-pl-background h1 {

  display: none;

}



.coop-title {

  font-size: 20px;

  margin-bottom: 5px;

}



.coop-item-text-stats h1 {

  font-size: 12px;

  font-weight: 400;

  color: #3b3b3b;

}



.coop-item-text-stats h1:last-of-type {

  font-size: 14px;

  font-weight: 600;

  color: #828282;

}



.q-emps-cont {

  background: var(--darkgray);

  border-radius: 20px;

  width: 100%;

  display: flex;

  flex-wrap: wrap;

  gap: 20px;

  align-items: center;

  border: 1px solid #191919;

  margin-top: 20px;

}



.emp-item {

  background: #0d0d0d;

  border-radius: 10px;

  padding: 15px;

  display: flex;

  flex-direction: column;

  justify-content: center;

  align-items: flex-start;

  border: 1px solid #191919;

  width: calc(20% - 16px);

}



.emp-item:nth-child(n + 31) {

  display: none;

}



.emp-item {

  display: flex;

  justify-content: flex-start;

  align-items: center;

  flex-direction: row;

}



.emp-pic {

  display: flex;

  justify-content: center;

  align-items: center;

}



.emp-pic img {

  height: 40px;

  width: auto;

  border-radius: 50%;

  border: 1px solid #191919;

  margin-right: 10px;

}



.emp-info h1:first-of-type {

  font-size: 13px;

}



.role {

  font-size: 13px;

  background: #0f0f0f;

  border: 1px solid #191919;

  padding: 3px 8px;

  border-radius: 4px;

  margin-top: 4px;

  color: #7e7e7e;

  font-weight: 600;

  text-align: center;

  width: fit-content;

}



.emp-info h1:last-of-type {

  font-size: 10px;

  padding: 1px 6px;

}



.profile-cont {

  display: flex;

  justify-content: flex-start;

  align-items: center;

}



.profile-cont img {

  height: 80px;

  width: auto;

  border-radius: 50%;

  border: 2px solid #191919;

  margin-right: 15px;

}



.profile-own-info h1:first-of-type {

  font-size: 25px;

}



hr {

  height: 1px;

  width: 100%;

  border-radius: 10px;

  background: #191919;

  border: none;

  margin: 20px 0px 20px 0px;

}



.quickactions-cont h1 {

  background: #151515;

  display: flex;

  justify-content: flex-start;

  align-items: center;

  padding: 10px 15px;

  border-radius: 8px;

  position: relative;

  overflow: hidden;

  transition: all 0.3s ease;

  margin-bottom: 10px;

}



.quickactions-cont h1::before {

  content: "";

  position: absolute;

  top: 0;

  left: -100%;

  width: 100%;

  height: 100%;

  background: linear-gradient(

    90deg,

    transparent,

    rgba(255, 255, 255, 0.3),

    transparent

  );

}



.quickactions-cont h1:hover::before {

  animation: gradientSwipe 0.5s ease forwards;

}



.sites-item {

  background: #151515;

  display: flex;

  justify-content: space-between;

  align-items: center;

  padding: 10px 15px;

  border-radius: 8px;

  position: relative;

  overflow: hidden;

  transition: all 0.3s ease;

  margin-bottom: 10px;

}



.sites-item::before {

  content: "";

  position: absolute;

  top: 0;

  left: -100%;

  width: 100%;

  height: 100%;

  background: linear-gradient(

    90deg,

    transparent,

    rgba(255, 255, 255, 0.3),

    transparent

  );

}



.sites-item:hover::before {

  animation: gradientSwipe 0.5s ease forwards;

}



.quick-end-cont {

  display: flex;

  justify-content: space-between;

  align-items: center;

  flex-direction: column;

}



body.modal-open {

  overflow: hidden;

  color: #ffffff;

}



.invoice-modal-overlay {

  position: fixed;

  inset: 0;

  background: rgba(0, 0, 0, 0.75);

  display: none;

  align-items: center;

  justify-content: center;

  z-index: 999;

}



.invoice-modal-overlay.active {

  display: flex;

}



.invoice-modal-container {

  position: relative;

  width: min(900px, 100% - 80px);

  max-height: calc(100% - 80px);

  padding: 40px;

  border-radius: 20px;

  background: var(--darkgray);

  border: 1px solid #191919;

  overflow-y: auto;

}



.invoice-modal-title {

  font-size: 18px;

  margin: 0 0 20px;

  display: flex;

  align-items: center;

  gap: 8px;

}



.invoice-modal-title i {

  font-size: 18px;

}



.invoice-modal-close {

  position: absolute;

  top: 18px;

  right: 18px;

  width: 28px;

  height: 28px;

  border-radius: 999px;

  border: 1px solid #191919;

  background: #151515;

  color: #ffffff;

  font-size: 16px;

  line-height: 1;

  display: flex;

  align-items: center;

  justify-content: center;

  cursor: pointer;

  transition: background 0.15s ease, transform 0.1s ease, border 0.15s ease;

}



.invoice-modal-close:hover {

  background: #202020;

  border-color: #2b2b2b;

  transform: scale(1.03);

}



.invoice-form-grid {

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));

  gap: 18px;

  margin-top: 10px;

}



.invoice-form-group {

  display: flex;

  flex-direction: column;

  gap: 6px;

  margin-bottom: 14px;

}



.invoice-form-group label {

  font-size: 12px;

  color: #7e7e7e;

}



.invoice-form-group input,

.invoice-form-group select {

  border-radius: 8px;

  border: 1px solid #191919;

  background: #0d0d0d;

  padding: 10px 12px;

  font-size: 13px;

  color: #ffffff;

  outline: none;

  transition: border 0.12s ease, background 0.12s ease;

}



.invoice-form-group input::placeholder {

  opacity: 0.4;

}



.invoice-form-group input:focus,

.invoice-form-group select:focus {

  border-color: #2b2b2b;

  background: #101010;

}



.invoice-type-toggle {

  display: inline-flex;

  align-items: center;

  gap: 8px;

  margin-bottom: 16px;

}



.invoice-type-label {

  font-size: 12px;

  color: #7e7e7e;

}



.toggle-btn {

  border-radius: 999px;

  padding: 6px 14px;

  font-size: 11px;

  border: 1px solid #191919;

  background: #151515;

  cursor: pointer;

  color: #ffffff;

  transition: background 0.15s ease, border 0.15s ease, transform 0.08s ease;

}



.toggle-btn:hover {

  transform: translateY(-1px);

  border-color: #2b2b2b;

}



.toggle-btn.active {

  background: #ffffff0f;

  border-color: #ffffff1a;

}



.invoice-type-fixed {

  font-size: 12px;

  color: #7e7e7e;

  margin-bottom: 12px;

}



.coop-extra-fields {

  margin-top: 10px;

}



.member-buttons-grid {

  display: flex;

  flex-wrap: wrap;

  gap: 8px;

  margin-top: 6px;

}



.member-button {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: 6px 14px;

  border-radius: 999px;

  border: 1px solid #191919;

  background: #151515;

  cursor: pointer;

  font-size: 11px;

  color: #ffffff;

  user-select: none;

  transition: background 0.15s ease, border 0.15s ease, transform 0.08s ease;

}



.member-button input {

  display: none;

}



.member-button span {

  pointer-events: none;

}



.member-button:hover {

  transform: translateY(-1px);

  border-color: #2b2b2b;

}



.member-button.active {

  background: #ffffff10;

  border-color: #ffffff1a;

}



.invoice-form-footer {

  margin-top: 20px;

  display: flex;

  justify-content: flex-end;

  gap: 10px;

}



.btn-primary,

.btn-secondary {

  border-radius: 999px;

  padding: 8px 18px;

  font-size: 12px;

  cursor: pointer;

  border: 1px solid #191919;

  outline: none;

  transition: background 0.15s ease, transform 0.08s ease, border 0.12s ease;

}



.btn-primary {

  background: #151515;

  color: #ffffff;

}



.btn-primary:hover {

  background: #1d1d1d;

  border-color: #2b2b2b;

  transform: translateY(-1px);

}



.btn-secondary {

  background: #101010;

  color: #ffffff;

}



.btn-secondary:hover {

  background: #151515;

  border-color: #2b2b2b;

}



@keyframes gradientSwipe {

  0% {

    left: -100%;

  }

  100% {

    left: 100%;

  }

}



.invoice-resources-section {

  margin-top: 16px;

  padding: 12px 14px;

  border-radius: 16px;

  background: var(--themegray);

  border: 1px solid #191919;

  max-height: 320px;

  overflow: auto;

}



.invoice-resources-header-row {

  display: flex;

  flex-direction: column;

  gap: 4px;

  margin-bottom: 8px;

}



.invoice-resources-header {

  display: grid;

  grid-template-columns: 2fr 1fr 1.3fr 1fr;

  font-size: 12px;

  font-weight: 600;

  color: #7e7e7e;

  text-transform: uppercase;

  letter-spacing: 0.04em;

}



.invoice-resources-help {

  font-size: 11px;

  color: #5f5f5f;

}



.invoice-resources-list {

  display: flex;

  flex-direction: column;

  gap: 6px;

}



.invoice-resource-row {

  position: relative;

  display: grid;

  grid-template-columns: 2fr 1fr 1.3fr 1fr;

  align-items: center;

  gap: 8px;

  padding: 10px 12px;

  border-radius: 10px;

  background: #101010;

  border: 1px solid #191919;

  transition: background 0.15s ease, border-color 0.15s ease,

    box-shadow 0.15s ease, transform 0.1s ease;

  overflow: hidden;

}



.invoice-resource-row::before {

  content: "";

  position: absolute;

  top: 0;

  left: -100%;

  width: 100%;

  height: 100%;

  background: linear-gradient(

    90deg,

    transparent,

    rgba(255, 255, 255, 0.08),

    transparent

  );

}



.invoice-resource-row:hover::before {

  animation: gradientSwipe 0.5s ease forwards;

}



.invoice-resource-row:hover {

  cursor: pointer;

  background: #151515;

  border-color: #242424;

  transform: translateY(-1px);

}



.invoice-resource-row.active {

  background: #151515;

  border-color: #ffffff1a;

  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04);

}



.invoice-resource-name {

  display: flex;

  align-items: center;

  gap: 8px;

  font-size: 13px;

  color: #ffffff;

}



.invoice-resource-badge {

  width: 10px;

  height: 10px;

  border-radius: 999px;

  background: #272727;

  flex-shrink: 0;

}



.invoice-resource-row.active .invoice-resource-badge {

  background: linear-gradient(90deg, #ffe866, #fd9dff, #7ce3ff);

}



.invoice-resource-name-text {

  white-space: nowrap;

  overflow: hidden;

  text-overflow: ellipsis;

}



.invoice-resource-price,

.invoice-resource-line {

  font-size: 13px;

  text-align: right;

  white-space: nowrap;

  color: #cfcfcf;

}



.invoice-resource-qty-wrapper {

  display: flex;

  align-items: center;

  gap: 4px;

  justify-content: flex-end;

}



.invoice-resource-qty {

  width: 56px;

  text-align: center;

  padding: 6px 6px;

  border-radius: 8px;

  border: 1px solid #191919;

  background: #0d0d0d;

  font-size: 13px;

  color: #ffffff;

  outline: none;

  transition: border 0.12s ease, background 0.12s ease;

}



.invoice-resource-qty:focus {

  border-color: #2b2b2b;

  background: #111111;

}



.invoice-resource-qty:disabled {

  background: #101010;

  color: #555555;

  border-style: dashed;

}



.invoice-resource-qty-btn {

  border: 1px solid #191919;

  background: #151515;

  border-radius: 999px;

  padding: 0 9px;

  font-size: 13px;

  cursor: pointer;

  line-height: 22px;

  color: #ffffff;

  transition: background 0.15s ease, border 0.15s ease, transform 0.08s ease;

}



.invoice-resource-qty-btn:hover {

  background: #1d1d1d;

  border-color: #2b2b2b;

  transform: translateY(-1px);

}



.invoice-resources-total-row {

  display: flex;

  justify-content: space-between;

  align-items: center;

  margin-top: 10px;

  padding-top: 8px;

  border-top: 1px solid #191919;

  font-weight: 600;

  color: #ffffff;

}



.invoice-resources-total-row span:first-child {

  font-size: 12px;

  color: #7e7e7e;

}



.invoice-resources-total-row span:last-child {

  font-size: 14px;

}



.invoice-resources-error {

  margin-top: 6px;

  font-size: 12px;

  color: #d32f2f;

}



.phone-icon {

  position: relative;

  display: inline-flex;

  margin-right: -5px;

  align-items: center;

  justify-content: center;

  cursor: pointer;

  padding: 4px;

  border-radius: 4px;

  color: #7e7e7e;

  transition: color 0.15s ease, background 0.15s ease;

}



.phone-icon:hover {

  background: #1a1a1a;

  color: #cfcfcf;

}



.phone-tooltip {

  position: absolute;

  bottom: 120%;

  left: 50%;

  transform: translateX(-50%);

  background: #0f0f0f;

  border: 1px solid #191919;

  padding: 3px 6px;

  font-size: 10px;

  color: #ccc;

  border-radius: 4px;

  white-space: nowrap;

  opacity: 0;

  pointer-events: none;

  transition: opacity 0.15s ease;

}



.phone-icon:hover .phone-tooltip {

  opacity: 1;

}



.phone-icon.copied i {

  color: #84ff9d !important;

}



.phone-icon.copied .phone-tooltip {

  content: "Kopieret!";

  opacity: 1;

  color: #84ff9d !important;

}



@media only screen and (max-width: 1500px) {

  .rside-cont {

    display: none;

  }

  .lside-cont {

    width: 100%;

    margin-right: 0px;

  }

}



@media (max-width: 900px) {

  .emp-item {

    width: calc(50% - 15px);

  }



  .coop-item {

    width: 100%;

  }

}



@media (max-width: 600px) {

  .emp-item,

  .coop-item {

    width: 100%;

  }

}

.coop-title b {
  color: #383838;
  font-size: 13px;
  background: #0b0b0b;
  padding: 3px 5px;
    border: 1px solid #191919;
    border-radius: 4px;

}

