/*
Theme Name: the7dtchild
Author: Dream-Theme
Author URI: http://dream-theme.com/
Description: The7 is perfectly scalable, performance and SEO optimized, responsive, retina ready multipurpose WordPress theme. It will fit every site – big or small. From huge corporate portals to studio or personal sites – The7 will become a great foundation for your next project!
Version: 1.0.0
License: This WordPress theme is comprised of two parts: (1) The PHP code and integrated HTML are licensed under the GPL license as is WordPress itself.  You will find a copy of the license text in the same directory as this text file. Or you can read it here: http://wordpress.org/about/gpl/ (2) All other parts of the theme including, but not limited to the CSS code, images, and design are licensed according to the license purchased. Read about licensing details here: http://themeforest.net/licenses/regular_extended
Template: dt-the7
*/

.EstilsTocAtencioHomePrimeraLinia {
	min-height: 130px;
	border-left: solid 2px #000000 !important;
}
.EstilsCaixesTextHomeSegonaLinia {
  	min-height: 120px;
  	border-left: solid 2px #000000 !important;
  	padding: 20px;
  	margin-top: 20px;
	color: #333333;
}
.EstilsSubtitolTextHomeTerceraLinia {
	font-size: 1.2em;
}
.ImatgesIsaca {
	width: 170px;
}
.EstilsTocAtencioHomeQuartaLinia {
	min-height: 120px;
	border-left: solid 2px #000000 !important;
}
.MargeCinquenaFilera {
	margin-bottom: 4em;
}
.MargeCinquenaFilera li {
	margin-bottom: 1em;
}
.EstilsCinquenaLinia {
	color: #333333;
}
.EstilsHomeSisenaLinia {
	min-height: 400px;
	color: #333333;
	font-size: 1.2em;
}
.EstilsHomeSisenaLinia ul {
	margin-top: 1em;
}
.EstilsHomeSisenaLinia li {
	margin-bottom: 1em;
}
.EstilsTocAtencioHomeSetenaLinia {
	min-height: 190px;
	border-left: solid 2px #000000 !important;
}
.TarifasEstilsExplicacioServeis {
	min-height: 390px;
}
.ContactoEnlacePolPriv {
	color: #d80021;
}
.AlturaMinima1 {
	min-height: 280px;
}
.MenuCentrat {
	text-align: center;
}

/* Formularis -------------------------------------------- */
.required .form-label::after,
.required .form-check-label::after {
	content: " *";
	color: red;
}
#FormulariPresentarDenuncia .form-control:not(:disabled), /* Sols aplica si els camps no estan disabled */
#FormulariPresentarDenuncia .form-select:not(:disabled) {
	background-color: #e9f7f6; /* Color de fondo suave */
}

/* =========================================
   Gestor de denuncias - reset The7 + look panel
   ========================================= */

body.gestor-denuncias{
  margin:0 !important;
  padding:0 !important;
  background:#f5f6f8;
  /* fuerza tipografía tipo bootstrap / admin */
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Noto Sans", "Liberation Sans", sans-serif !important;
  font-size:14px;
  line-height:1.4;
  color:#2b2b2b;
}

/* Evitar contenedores/estilos del theme */
body.gestor-denuncias #page,
body.gestor-denuncias #main,
body.gestor-denuncias .content,
body.gestor-denuncias .wf-wrap,
body.gestor-denuncias .wf-container-main{
  max-width:none !important;
  padding:0 !important;
  margin:0 !important;
}

/* Forzar tamaño real del título en topbar (The7 override) */
body.gestor-denuncias .gd-topbar h1.gd-title,
body.gestor-denuncias .gd-topbar h2.gd-title {
  font-size: 22px !important;
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
  padding: 0;
  color: #2b2b2b;
}

/* Full width real */
body.gestor-denuncias .gd-layout{
  width:100vw;
  max-width:100vw;
  min-height:100vh;
  overflow:hidden;
  background:#f5f6f8;
}

/* Sidebar similar a la captura */
body.gestor-denuncias .gd-sidebar{
  width:300px;
  flex:0 0 300px;
  background:#fff;
  border-right:1px solid #e6e8ee;
}

body.gestor-denuncias .gd-sidebar .p-3{
  height:64px;
  display:flex;
  align-items:center;
  font-weight:600;
  color:#444;
}

/* Links del sidebar (sin look "pills" exagerado) */
body.gestor-denuncias .gd-sidebar .nav{
  padding:8px;
}

body.gestor-denuncias .gd-sidebar .nav-link{
  border-radius:8px;
  padding:10px 12px;
  color:#333 !important;
  background:transparent !important;
  display:flex;
  gap:10px;
  align-items:center;
}

body.gestor-denuncias .gd-sidebar .nav-link:hover{
  background:#f2f4f7 !important;
}

body.gestor-denuncias .gd-sidebar .nav-link.active{
  background:#0d6efd !important;
  color:#fff !important;
}

/* Topbar como panel (altura + sombra suave) */
body.gestor-denuncias .gd-topbar{
  height:64px;
  display:flex;
  align-items:center;
  background:#fff !important;
  border-bottom:1px solid #e6e8ee !important;
  box-shadow:0 2px 10px rgba(16,24,40,.06);
  z-index:10;
}

body.gestor-denuncias .gd-topbar .container-fluid{
  height:64px;
}

/* Contenido */
body.gestor-denuncias .gd-content{
  background:#f5f6f8 !important;
}

body.gestor-denuncias .gd-content > .container-fluid{
  padding:24px !important;
}

/* ===== Dropdown usuario (estilo similar a la 1ª imagen) ===== */
body.gestor-denuncias .gd-user-btn{
  text-decoration:none !important;
  color:#111 !important;
  font-weight:600;
  padding:8px 10px;
  border-radius:8px;
  background:#fff;
  border:1px solid transparent;
}

body.gestor-denuncias .gd-user-btn:hover{
  background:#f2f4f7;
  border-color:#e6e8ee;
}

body.gestor-denuncias .gd-user-menu{
  min-width:320px;
  border:1px solid #e6e8ee;
  border-radius:10px;
  overflow:hidden;
  padding:0;
  box-shadow:0 12px 30px rgba(16,24,40,.12);
}

body.gestor-denuncias .gd-user-card{
  padding:14px 16px;
  border-bottom:1px solid #eef0f4;
  background:#fff;
}

body.gestor-denuncias .gd-user-name{
  font-weight:700;
  color:#111;
}

body.gestor-denuncias .gd-user-email{
  font-size:12px;
  color:#6b7280;
  margin-top:2px;
}
.gd-dot{
  display:inline-block;
  width:12px;
  height:12px;
  border-radius:999px;
  margin-right:6px;
  vertical-align:middle;
}
.gd-dot-red{ background:#ff3b30; }
.gd-dot-yellow{ background:#ffa700; }
.gd-dot-gray{ background:#d5d5d7; }
.gd-dot-green{ background:#03910a; }

.gd-dot-off{
  background:#d5d5d7 !important;
}

/* ======================================================================================================================================
   Detalle denuncia - Layout
   ====================================================================================================================================== */

.gd-case-header{
  background: #fff;
  border: 1px solid #e6e9ef;
  border-radius: 6px;
  padding: 14px 16px;
  margin: 0 0 12px 0;
  box-shadow: 0 1px 2px rgba(16,24,40,.06);
}

.gd-case-title{
  font-size: 13px;
  margin-bottom: 10px;
  color: #101828;
}

.gd-case-grid{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 12px;
  align-items: center;
}

@media (max-width: 900px){
  .gd-case-grid{
    grid-template-columns: 1fr;
  }
}

.gd-case-col{
  background: #f8fafc;
  border: 1px solid #eef2f6;
  border-radius: 6px;
  padding: 10px 12px;
}

.gd-label{
  font-size: 12px;
  color: #667085;
  margin-bottom: 6px;
  font-weight: 600;
}

.gd-value{
  font-size: 13px;
  color: #101828;
  display: flex;
  align-items: center;
  gap: 10px;
}
.gd-case-title{
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* =========================
   Tabs
   ========================= */

   .gd-tabs-container{
  background: #ffffff;
  border: 1px solid #e6e9ef;
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(16,24,40,.06);
  overflow: hidden; /* clave para que parezca una sola pieza */
}

.gd-tabs{
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 14px 16px;
  background: #ffffff;
  margin: 0;
  border: none;
  box-shadow: none;
}

.gd-tab{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 10px;
  color: #175cd3;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .2px;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .05s ease;
}

.gd-tab:hover{
  background: #f3f7ff;
  border-color: #d6e4ff;
  color: #0b5ed7;
}

.gd-tab:active{
  transform: translateY(1px);
}

.gd-tab-active{
  background: #e9f1ff;
  border-color: #bcd3ff;
  color: #0b5ed7;
}

.gd-tab-active::after{
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -14px; /* ahora “toca” la línea separadora */
  height: 3px;
  border-radius: 99px;
  background: #0b5ed7;
}

/* Permite los saltos de línea del segundo tab sin “romper” el pill */
.gd-tab br{
  display: block;
}

/* En móvil: que no se vea el indicador fuera del contenedor */
@media (max-width: 900px){
  .gd-tab-active::after{
    display: none;
  }
}

.gd-tabs-separator{
  height: 1px;
  background: #e6e9ef;
  width: 100%;
}
.gd-tab-active::after{
  display: none !important;
}

/* =========================
   Content + Form fields
   ========================= */

.gd-tab-content{
  background: #fff;
  border: 1px solid #e6e9ef;
  border-radius: 6px;
  padding: 16px;
  box-shadow: 0 1px 2px rgba(16,24,40,.06);
}

.gd-form-section{
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.gd-field label.gd-label{
  display: block;
  margin-bottom: 8px;
}

.gd-box{
  min-height: 80px;
  background: #f5f6f8;
  border: 1px solid #e6e9ef;
  border-radius: 4px;
  padding: 12px;
  font-size: 13px;
  color: #101828;
  white-space: pre-wrap;       /* respeta saltos de línea */
  word-break: break-word;
}

/* Si quieres que la "Descripción corta" sea más compacta */
.gd-field:first-child .gd-box{
  min-height: 60px;
}

.gd-box--small{
  min-height: 40px;
  padding: 10px 12px;
}

.gd-box--large{
  min-height: 120px;
  padding: 12px;
}

/* =========================
   Status dots
   ========================= */

.gd-dot{
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
}

.gd-dot-red{
  background: #ef4444;
}

.gd-dot-yellow{
  background: #f59e0b;
}

.gd-dot-gray{
  background: #9ca3af;
}


/* =========================
   Optional: alerts (si usas WP/Bootstrap no hace falta)
   ========================= */

.gd-tab-content .alert{
  border-radius: 6px;
}

.gd-attachments{
  margin: 6px 0 0 18px;
  padding: 0;
}

.gd-attachments li{
  margin: 6px 0;
}

.gd-attachments a{
  color: #0b5ed7;
  text-decoration: underline;
}

.gd-attachments a:hover{
  text-decoration: none;
}

