/*
 Theme Name: The7 Child - Salty Communication
 Theme URI: https://saltycommunication.com
 Description: Thème enfant de The7 pour Salty Communication avec intégration SEO Tracker
 Author: Salty Communication
 Author URI: https://saltycommunication.com
 Template: dt-the7
 Version: 1.0.0
 Text Domain: the7-child-salty
*/

/* ============================================
   SEO Dashboard Page Styles
   ============================================ */

/* Remove The7 default padding on dashboard page */
body.seo-dashboard-page {
  padding: 0;
}

body.seo-dashboard-page .page-content {
  padding: 0;
}

/* Override container constraints for full-width */
body.seo-dashboard-page .the7-container,
body.seo-dashboard-page .container {
  max-width: 100%;
  width: 100%;
  padding: 0;
  margin: 0;
}

/* Override The7 fonts inside dashboard */
body.seo-dashboard-page {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

body.seo-dashboard-page h1,
body.seo-dashboard-page h2,
body.seo-dashboard-page h3,
body.seo-dashboard-page h4,
body.seo-dashboard-page h5,
body.seo-dashboard-page h6 {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

/* Hide page title on dashboard page */
body.seo-dashboard-page .page-title,
body.seo-dashboard-page .entry-title {
  display: none;
}

/* Fix link colors (green #22c55e) */
body.seo-dashboard-page a {
  color: #22c55e;
  text-decoration: none;
}

body.seo-dashboard-page a:hover {
  color: #16a34a;
  text-decoration: underline;
}

body.seo-dashboard-page a:visited {
  color: #22c55e;
}

/* Override button styles */
body.seo-dashboard-page button,
body.seo-dashboard-page .button,
body.seo-dashboard-page input[type="button"],
body.seo-dashboard-page input[type="submit"] {
  background-color: #22c55e;
  color: #ffffff;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

body.seo-dashboard-page button:hover,
body.seo-dashboard-page .button:hover,
body.seo-dashboard-page input[type="button"]:hover,
body.seo-dashboard-page input[type="submit"]:hover {
  background-color: #16a34a;
}

body.seo-dashboard-page button:disabled,
body.seo-dashboard-page .button:disabled,
body.seo-dashboard-page input[type="button"]:disabled,
body.seo-dashboard-page input[type="submit"]:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}

/* Override table styles */
body.seo-dashboard-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}

body.seo-dashboard-page table th,
body.seo-dashboard-page table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}

body.seo-dashboard-page table th {
  background-color: #f3f4f6;
  font-weight: 600;
  color: #111827;
}

body.seo-dashboard-page table tr:hover {
  background-color: #f9fafb;
}

body.seo-dashboard-page table td {
  color: #374151;
}

/* Override input styles in modals */
body.seo-dashboard-page input[type="text"],
body.seo-dashboard-page input[type="email"],
body.seo-dashboard-page input[type="password"],
body.seo-dashboard-page input[type="number"],
body.seo-dashboard-page textarea,
body.seo-dashboard-page select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

body.seo-dashboard-page input[type="text"]:focus,
body.seo-dashboard-page input[type="email"]:focus,
body.seo-dashboard-page input[type="password"]:focus,
body.seo-dashboard-page input[type="number"]:focus,
body.seo-dashboard-page textarea:focus,
body.seo-dashboard-page select:focus {
  outline: none;
  border-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

body.seo-dashboard-page textarea {
  resize: vertical;
  min-height: 100px;
}

/* Modal styles */
body.seo-dashboard-page .modal {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

body.seo-dashboard-page .modal-header {
  padding: 16px;
  border-bottom: 1px solid #e5e7eb;
}

body.seo-dashboard-page .modal-body {
  padding: 16px;
}

body.seo-dashboard-page .modal-footer {
  padding: 16px;
  border-top: 1px solid #e5e7eb;
  text-align: right;
}
