
#wpfooter{
  position: relative;
}

h1 {
  margin-bottom: 20px;
  color: #0a3d62;
}

.tabs {
  display: flex;
  border-bottom: 2px solid #0a3d62;
  margin-bottom: 20px;
  position: relative;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 14px;
}

.tab {
  padding: 8px 12px;
  cursor: pointer;
  border: 1px solid transparent;
  border-bottom: none;
  margin: 3px;
  margin-bottom: 15px;
  user-select: none;
  border-radius: 5px;
  transition: all 0.5s ease;
  color: #3c6382;
  position: relative;
  overflow: hidden;
  font-weight: 600;
  box-shadow: 1px 1px 5px rgba(10, 61, 98, 0.281);
  background-color: white;
}

.tab::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: rgba(10, 61, 98, 0.05);
  transition: height 0.3s ease;
  z-index: -1;
}

.tab:hover::before {
  height: 100%;
}

.tab.active {
  background: #0a3d62;
  font-weight: bold;
  color: white;
  border: 1px solid #0a3d62;
  border-bottom: none;
  box-shadow: 0 4px 8px rgba(10, 61, 98, 0.3);
  transform: translateY(-3px);
}

.tab.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #0a3d62;
}

.tab-content {
  background: white;
  border: 1px solid #c8d6e5;
  padding: 25px;
  border-radius: 20px;
  min-height: 200px;
  box-shadow: 0 4px 12px rgba(10, 61, 98, 0.1);
  transition: all 0.3s ease;
  opacity: 1;
  transform: translateY(0);
}

.tab-content.fade-out {
  opacity: 0;
  transform: translateY(10px);
}

form {
  margin-bottom: 20px;
}

.form-group {
  margin-top: 20px;
  padding: 15px;
  background-color: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
  margin-bottom: 15px;
}

.form-table{
  td{
    margin-top: 10px;
  }
  th, td{
    margin: 0;
    padding: 0;
    width: auto !important;
  }
}

.add_row_button{
  margin-top: 10px;
}

.setting-row {  
  margin-top: 10px;
  padding: 5px;
  border-radius: 10px;
  background-color: #ffffff;
}

label {
  display: block;
  font-weight: normal;
  color: #333;
}

label:has(input[type="checkbox"]:checked) {
  font-weight: bold;
  color: #0a3d62;
}

label:has(input[type="radio"]:checked) {
  font-weight: bold;
  color: #0a3d62;
}

input,
select{
  width: 50%;
  height: 30px;
  padding: 10px;
  border: 1px solid #c8d6e5;
  border-radius: 4px;
  box-sizing: border-box;
  transition: border 0.3s ease;
}

textarea {
  width: 80%;
  height: 30px;
  padding: 10px;
  border: 1px solid #c8d6e5;
  border-radius: 4px;
  box-sizing: border-box;
  transition: border 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #0a3d62;
  outline: none;
  box-shadow: 0 0 0 2px rgba(10, 61, 98, 0.2);
}

input[type="checkbox"] {
  margin-right: 8px;
}

button[type="submit"] {
  background-color: #0a3d62;
  border: none;
  color: white;
  padding: 12px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  box-shadow: 0 2px 4px rgba(10, 61, 98, 0.2);
}

button[type="submit"]:hover {
  background-color: #1e5f85;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(10, 61, 98, 0.3);
}

.shortcode-block {
  background: #f5f7fa;
  padding: 15px;
  border: 1px solid #dfe6e9;
  margin-bottom: 15px;
  border-radius: 6px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shortcode-block:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(10, 61, 98, 0.1);
}

.shortcode-block code {
  background: #fff;
  padding: 5px 8px;
  border: 1px solid #dfe6e9;
  border-radius: 3px;
  color: #0a3d62;
}

hr {
  margin: 20px 0;
  border: 0;
  border-top: 1px solid #dfe6e9;
}

h2,
h3,
h4 {
  color: #0a3d62;
}

.wrap {
  animation: fadeIn 0.5s ease;
  font-size: 80%;

  h1 {
    text-align: center;
    margin-bottom: 4%;
    font-size: 30px;
    font-weight: bold;
  }
}

.header-title {
  font-size: 16px;
  color: #0a3d62;
  margin-bottom: 5px;
}

.option-title {
  margin: 5px 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pointer-arrow {
  font-size: 4em;
  color: #0a3d62;
  font-weight: bold;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked+.toggle-slider {
  background-color: #0a3d62;
}

input:focus+.toggle-slider {
  box-shadow: 0 0 1px #0a3d62;
}

input:checked+.toggle-slider:before {
  transform: translateX(26px);
}

.toggle-switch-container {
  display: flex;
  align-items: center;
}

.toggle-label {
  font-weight: 400;
  margin: 0 10px;
  color: #666;
  font-size: 0.9em;
}

.toggle-label-on {
  margin-right: 10px;
  color: #999;
}

.toggle-label-off {
  margin-left: 10px;
  color: #999;
}

input:checked~.toggle-label-on {
  color: #0a3d62;
  font-weight: 600;
}

input:not(:checked)~.toggle-label-off {
  color: #0a3d62;
  font-weight: 600;
}

.loading {
  padding: 20px;
  text-align: center;
  font-style: italic;
  color: #666;
}

.message-success,
.message-error {
  padding: 10px 15px;
  border-radius: 4px;
  margin-bottom: 20px;
  animation: fadeIn 0.5s ease;
}

.message-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.message-error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.form-section {
  margin-bottom: 30px;
}

.form-section h3 {
  margin-bottom: 10px;
  border-bottom: 1px solid #e1e1e1;
  padding-bottom: 10px;
}

.settings-divider {
  margin: 20px 0;
  border: 0;
  border-top: 1px solid #e9ecef;
}

.setting-title {
  font-weight: 500;
  margin-left: 10px;
}

.setting-description {  
  color: #666;
  max-width: 80%;  

  p {
    font-style: italic;
    margin-top: 0;
    font-size: 100%;
  }
}

.partial-description {
  max-width: 100% !important;
}

.toggle-switch-container {
  width: 10%;
  display: flex;
  align-items: center;
  justify-content: center;  
  transform: scale(0.8);
  transform-origin: center;  
}

.form-section input[type="text"],
.form-section input[type="number"],
.form-section select {
  max-width: 400px;
}

.form-section button[type="submit"] {
  margin-top: 20px;
}

.form-section .form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-section button.button-primary {  
  background-color: #0a3d62;
  border-color: #0a3d62;
}

.form-section button.button-primary:hover {
  background-color: #1e5f85;
  border-color: #1e5f85;
}

.button-primary{
  margin-top: 5% !important;
}

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.485);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loader-new-setting {
  border: 16px solid #ffffff;  
  border-top: 16px solid #0a3d62;  
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.hidden {
  display: none !important;
}

.shortcode-item {
  margin-bottom: 20px;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.shortcode-example {
  background-color: #f8f9fa;
  padding: 10px;
  border-radius: 4px;
  margin-top: 10px;
}

.documentation-section {
  margin-bottom: 30px;
}