.de_license_row {
    display: grid;
    grid-template-columns: minmax(auto,30%) minmax(auto,50%) 120px 30px;
    grid-column-gap: 20px;
    background: #f9f9f9;
    margin-bottom: 30px;
    padding: 10px 15px;
    box-shadow: 0 0 10px #dfdfdf;
}

.de_license_row .de_license_key,
.de_license_row .de_license_label {
    display: inline-block;
    font-size: 16px;
    font-weight: 400;
}

.de_field_label {
    display: block;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 500;
    color: #878787;
}

.de_license_row .de_license_key {
    display: inline-flex;
    flex-direction: column;
    position: relative;
}

.de_license_copy_btn {
    font-size: 20px;
    line-height: 1;
    padding: 0 0 0 5px;
    color: #cb489a;
    vertical-align: middle;
    cursor: pointer;
}

.de_license_copy_btn:before {
    content: '\f105';
    font-family: dashicons;
}

.de_license_copy_btn.de_license_copied:before {
    content: '\f15e';
}

.de_license_delete_btn {
	display: flex;
    align-items: center;
    justify-content: center;
	font-size: 22px;
	color: #000;
	cursor: pointer;
}

.de_license_delete_btn:before {
    content: '\f182';
    font-family: dashicons;
}

.de_license_status_switch {
    display: inline-block;
    position: relative;
    width: 48px;
    height: 12px;
    margin-top: 10px;
    font-size: 16px;
}

.de_license_status_switch .de_license_status_checkbox {
    opacity: 0;
    width: 0;
    height: 0;
}

.de_license_status_slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ff6a59;
    border-radius: 30px;
    transition: 0.4s;
    cursor: pointer;
}

.de_license_status_slider:before {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 0;
    border-radius: 50%;
    background-color: #ba0300;
    width: 20px;
    height: 20px;
    content: "✕";
    font-size: 14px;
    font-weight: 900;
    color: white;
    transform: translate(0, -50%);
    transition: 0.4s;
}

.de_license_status_switch .de_license_status_checkbox:checked + .de_license_status_slider {
    background-color: #6ce54c;
}

.de_license_status_switch .de_license_status_checkbox:checked + .de_license_status_slider:before {
    content: "\002713";
    color: #fff;
    background: #4a944a;
    transform: translate(28px, -50%) ;
}



.de_license_status select {
    border: none;
    background: none;
    padding: 0;
    font-size: 16px;
    line-height: 1.5;
    cursor: pointer;
    -webkit-appearance: none;
}

.de_generate_license_btn {
    background: #cb489a;
    border: 1px solid #cb489a;
    border-radius: 3px;
    padding: 15px 30px;
    font-size: 16px;
    color: #fff;
    box-shadow: 0 0 10px #848484;
    cursor: pointer;
}

.de_generate_license_btn:hover {
    background: #c62d8d;
}


/* Popup Modal Styles */
.de_generate_license_modal,
.de_delete_license_modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    backdrop-filter: blur(2px);
    background-color: rgba(0, 0, 0, 0.45);
    width: 100%;
    height: 100%;
    z-index: 99999;
}

.de_generate_license_modal .de_generate_license_modal_wrapper,
.de_delete_license_modal .de_delete_license_modal_wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.de_generate_license_modal .de_generate_license_modal_inner_wrap,
.de_delete_license_modal .de_delete_license_modal_inner_wrap {
    position: relative;
    background: #fff;
    border-radius: 3px;
    width: 90%;
    max-width: 500px;
    padding: 30px;
    text-align: center;
}

.de_generate_license_modal h4,
.de_delete_license_modal h4 {
    max-width: 80%;
    margin: 0 auto 20px auto;
    font-size: 20px;
    font-weight: 600;
    color: #000;
}

.de_license_label_wrapper {
    display: grid;
    grid-template-columns: minmax(auto, 70%) minmax(auto, 30%);
    grid-column-gap: 20px;
}

.de_generate_license_modal button.de_license_close_btn,
.de_delete_license_modal button.de_license_close_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 0;
    top: 0;
    border: none;
    border-radius: 0 3px 0 0;
    background: #000;
    width: 20px;
    height: 20px;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    transition: color 0.25s ease;
    cursor: pointer;
}

.de_generate_license_modal button.de_submit_label_btn,
.de_delete_license_modal button.de_license_confirm_delete,
.de_delete_license_modal button.de_license_confirm_not_delete {
    background: #cb489a;
    border: none;
    border-radius: 3px;
    color: white;
    cursor: pointer;
    font-size: 16px;
    padding: 12px 26px;
}

.de_generate_license_modal button.de_submit_label_btn:hover,
.de_delete_license_modal button.de_license_confirm_delete:hover {
    background: #c62d8d;
}

.de_new_license_label {
    border-radius: 3px;
    padding: 10px !important;
    font-size: 16px;
    color: #000;
}

.de_new_license_label::placeholder {
    color: #7a7a7a;
}

.de_delete_license_modal button.de_license_confirm_not_delete {
    background-color: #ccc;
    margin-left: 10px;
    color: #333;
}

.de_delete_license_modal button.de_license_confirm_not_delete:hover {
    background-color: #bbb;
}

/* Confirmation Modal Styles */
/*
.de_delete_license_modal {
  backdrop-filter: blur(2px);
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  inset: 0;
  position: fixed;
  z-index: 10000;
}

.de_delete_license_modal .de_delete_license_modal_wrapper {
  background: white;
  border-radius: 12px;
  font-size: 16px;
  margin: 180px auto;
  max-width: 320px;
  padding: 24px 28px;
  text-align: center;
  color: #333;
}


.de_delete_license_modal p {
  font-weight: 600;
  margin-bottom: 20px;
}

.de_delete_license_modal button {
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  margin: 0 12px;
  padding: 10px 20px;
  transition: background-color 0.3s ease;
}


.de_license_confirm_not_delete {
  background-color: #ccc;
  color: #333;
}

.de_license_confirm_not_delete:hover {
  background-color: #bbb;
}

.de_license_confirm_delete {
  background-color: #cb489a;
  color: white;
}

.de_license_confirm_delete:hover {
  background-color: #cb489a;
}
*/

/* Dynamic container and children 
.de_license_delete_btn {
    background: #ff4b5c;
    border: none;
    border-radius: 6px;
    color: white;
    cursor: pointer;
    font-size: 18px;
    padding: 8px 12px;
    transition: background-color 0.3s ease;
}

.de_license_delete_btn:hover {
    background: #e23e50;
}*/