/**
 * Simple Contact Bar Admin Styles
 * Version: 1.0.5
 */

/* Admin Panel Container */
.scb-admin {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.scb-admin h1 {
  color: #23282d;
  font-size: 2.2em;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

/* Form Sections */
.scb-admin .form-table {
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  padding: 20px;
}

.scb-admin .form-table th {
  padding: 20px 10px 20px 20px;
  width: 200px;
  font-weight: 600;
}
.scb-admin .form-table tr{
	padding:20px !important;
}

.scb-admin .form-table td {
  padding: 15px 10px;
  vertical-align: middle;
}

/* Section Headers */
.scb-admin h2 {
  font-size: 1.5em;
  margin: 30px 0 15px;
  padding: 10px 15px;
  background-color: #f9f9f9;
  border-left: 4px solid #0073aa;
  border-radius: 0 3px 3px 0;
}

/* Form Controls */
.scb-admin input[type="text"],
.scb-admin input[type="number"],
.scb-admin select,
.scb-admin textarea {
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.07);
  padding: 8px 10px;
  min-height: 35px;
  width: 100%;
  max-width: 400px;
}

.scb-admin input[type="checkbox"] {
  border: 1px solid #ddd;
  border-radius: 3px;
  margin-right: 5px;
  min-width: 16px;
  min-height: 16px;
}

.scb-admin select {
  padding-right: 30px;
  background-image: url('data:image/svg+xml;charset=US-ASCII,<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><path d="M5 6l5 5 5-5 2 1-7 7-7-7z" fill="%23555"/></svg>');
  background-repeat: no-repeat;
  background-position: right 5px top 55%;
  background-size: 16px 16px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.scb-admin textarea {
  min-height: 100px;
}

/* Color Picker */
.scb-admin .wp-picker-container {
  position: relative;
}

.scb-admin .wp-color-result {
  border-radius: 3px;
  box-shadow: 0 1px 0 #ccc;
  height: 30px;
  margin: 0 6px 6px 0;
  position: relative;
  user-select: none;
}

/* Submit Button */
.scb-admin .submit {
  margin-top: 20px;
  padding: 10px 0;
}

.scb-admin .button-primary {
  background: #0073aa;
  border-color: #0073aa;
  color: #fff;
  text-decoration: none;
  text-shadow: none;
  padding: 8px 15px;
  height: auto;
  font-size: 14px;
  line-height: normal;
  border-radius: 3px;
  transition: all 0.2s ease;
}

.scb-admin .button-primary:hover,
.scb-admin .button-primary:focus {
  background: #0085ba;
  border-color: #0073aa;
  color: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Shortcodes Section */
.shortcodes-details {
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-top: 30px;
  padding: 20px;
}

.shortcodes-details h2 {
  color: #23282d;
  font-size: 1.5em;
  margin-top: 0;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.shortcodes-details h4 {
  color: #23282d;
  font-size: 1.1em;
  margin: 15px 0 5px;
}

.shortcodes-details h5 {
  color: #666;
  font-size: 1em;
  font-weight: normal;
  margin: 5px 0 15px;
  font-style: italic;
}

.shortcodes-details-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.shortcodes-details-col {
  background-color: #f9f9f9;
  border-radius: 4px;
  padding: 15px;
  margin-bottom: 20px;
  border-left: 3px solid #0073aa;
}

.shortcodes-details-title {
  font-weight: 600;
  margin-bottom: 10px;
  color: #23282d;
}

.shortcodes-details-description h4,
.shortcodes-details-preview h4 {
  margin: 15px 0 5px;
  color: #0073aa;
}

.scb-padding-20 {
  padding: 10px;
}

.scb-width-100 {
  width: 100%;
  box-sizing: border-box;
  font-family: monospace;
  background-color: #f1f1f1;
  border: 1px solid #ddd;
  color: #333;
}

.shorcode-preview {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 15px;
  margin-top: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Fix for shortcode buttons in admin */
.shorcode-preview .scb-button {
  position: static !important;
  margin: 0 auto !important;
}

/* Prevent animation in admin area */
.scb-admin .scb-button-animation::before {
  display: none !important;
}

/* Footer */
.shortcodes-details p {
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px solid #eee;
  color: #666;
  font-style: italic;
  text-align: center;
}

.shortcodes-details p a {
  color: #0073aa;
  text-decoration: none;
}

.shortcodes-details p a:hover {
  color: #00a0d2;
  text-decoration: underline;
}

/* Responsive Adjustments */
@media screen and (max-width: 782px) {
  .scb-admin .form-table th {
    padding: 15px 10px 5px 0;
    display: block;
    width: 100%;
  }
  
  .scb-admin .form-table td {
    padding: 5px 10px 15px;
    display: block;
  }
  
  .shortcodes-details-row {
    grid-template-columns: 1fr;
  }
}