/* Sportclick – estilos del front (acceso, registro y paneles). Diseño equivalente al dashboard Argon de la plataforma Laravel. Todo bajo .scc. */
body.scc-body { margin: 0; background: #f8f9fe; }
.scc, .scc * { box-sizing: border-box; }
.scc {
	--scc-primary: #00b3e4;
	--scc-primary-dark: #0095bf;
	--scc-ink: #32325d;
	--scc-text: #525f7f;
	--scc-muted: #8898aa;
	--scc-line: #e9ecef;
	--scc-bg: #f8f9fe;
	--scc-ok: #2dce89;
	--scc-err: #f5365c;
	font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	color: var(--scc-text);
	font-size: 15px;
	line-height: 1.5;
}
.scc a { color: var(--scc-primary); }
.scc h1, .scc h2, .scc h3 { font-family: "Open Sans", sans-serif; margin: 0 0 12px; line-height: 1.25; color: var(--scc-ink); font-weight: 600; }
.scc h1 { font-size: 24px; }
.scc h2 { font-size: 18px; }
.scc h3.scc-subtitle { font-size: 15px; margin: 18px 0 10px; }
.scc .scc-h1 { margin: 0 0 16px; }
.scc-muted { color: var(--scc-muted); }

/* Tarjetas y formularios */
.scc-card { background: #fff; border: 1px solid rgba(0,0,0,.05); border-radius: .375rem; padding: 1.5rem; margin: 0 0 1.5rem; box-shadow: 0 0 2rem 0 rgba(136,152,170,.15); }
.scc-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 1.25rem 1.5rem; border-bottom: 1px solid rgba(0,0,0,.05); flex-wrap: wrap; }
.scc-card-head h2 { margin: 0; }
.scc-field { display: block; margin: 0 0 14px; }
.scc-field > span { display: block; font-weight: 600; font-size: .8125rem; color: var(--scc-ink); margin-bottom: 4px; }
.scc input[type=text], .scc input[type=email], .scc input[type=password], .scc input[type=tel], .scc input[type=number], .scc input[type=url], .scc input[type=search], .scc select, .scc textarea {
	width: 100%; padding: .625rem .75rem; border: 1px solid #cad1d7; border-radius: .375rem; background: #fff; font: inherit; color: var(--scc-text); box-shadow: 0 1px 3px rgba(50,50,93,.15), 0 1px 0 rgba(0,0,0,.02);
}
.scc input:focus, .scc select:focus, .scc textarea:focus { outline: 0; border-color: var(--scc-primary); box-shadow: 0 4px 6px rgba(50,50,93,.11), 0 1px 3px rgba(0,0,0,.08); }
.scc input[readonly] { background: #e9ecef; color: var(--scc-muted); }
.scc-check { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 14px; font-size: 14px; }
.scc-check input { margin-top: 4px; }
.scc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.scc-span2 { grid-column: 1 / -1; }
.scc-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.scc-fieldset { border: 1px solid var(--scc-line); border-radius: .375rem; margin: 0 0 14px; padding: 10px 14px; }
.scc-fieldset legend { font-weight: 600; font-size: 13px; padding: 0 6px; }
.scc-strength { display: block; margin: -4px 0 12px; color: var(--scc-muted); font-size: 13px; }
.scc-strength.is-weak { color: var(--scc-err); }
.scc-strength.is-ok { color: #fb6340; }
.scc-strength.is-strong { color: var(--scc-ok); }

/* Botones y enlaces */
.scc-btn { display: inline-block; background: var(--scc-primary); color: #fff !important; border: 1px solid var(--scc-primary); border-radius: .375rem; padding: .625rem 1.25rem; font: inherit; font-size: .875rem; font-weight: 600; cursor: pointer; text-decoration: none; box-shadow: 0 4px 6px rgba(50,50,93,.11), 0 1px 3px rgba(0,0,0,.08); transition: all .15s ease; }
.scc-btn:hover { background: var(--scc-primary-dark); border-color: var(--scc-primary-dark); transform: translateY(-1px); }
.scc-btn-block { display: block; width: 100%; text-align: center; margin-top: 6px; }
.scc-btn-secondary { background: #fff; color: var(--scc-primary) !important; border-color: var(--scc-primary); }
.scc-btn-secondary:hover { background: #e6f8fd; }
.scc-btn-small { padding: .35rem .9rem; font-size: .8125rem; }
.scc-link { color: var(--scc-primary); text-decoration: none; cursor: pointer; }
.scc-link:hover { text-decoration: underline; }
.scc-danger { color: var(--scc-err) !important; }

/* Avisos */
.scc-notice { padding: .9rem 1.25rem; border-radius: .375rem; margin: 0 0 1.25rem; border: 1px solid; font-size: 14px; }
.scc-notice-success { background: #d5f5e8; border-color: #b6ecd3; color: #0c6b40; }
.scc-notice-error { background: #fddde4; border-color: #fbb4c1; color: #a8183a; }
.scc-notice-info { background: #d4f4fb; border-color: #a9e8f6; color: #0a6479; }
.scc-notice-warning { background: #ffe9e3; border-color: #fdc7b9; color: #9a3a1f; }

/* Acceso y registro */
.scc-auth { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px 14px; background: linear-gradient(87deg, #00b3e4 0, #0090b8 100%); }
.scc-auth .scc-card { width: 100%; max-width: 420px; padding: 2rem; border: 0; }
.scc-auth .scc-card-wide { max-width: 620px; }
.scc-brand { text-align: center; margin-bottom: 1.25rem; }
.scc-brand img { max-height: 48px; width: auto; }
.scc-links { text-align: center; margin: 16px 0 0; font-size: 14px; }
.scc-inline { margin-top: 14px; }

/* Panel: barra lateral blanca + cabecera azul, igual que Laravel */
.scc-app { min-height: 100vh; background: var(--scc-bg); }
.scc-sidebar { position: fixed; top: 0; bottom: 0; left: 0; width: 250px; background: #fff; box-shadow: 0 0 2rem 0 rgba(136,152,170,.15); padding: 1.25rem 1rem; overflow-y: auto; z-index: 30; }
.scc-sidebar-brand { display: block; text-align: center; padding: .25rem 0 1.25rem; border-bottom: 1px solid #f6f9fc; margin-bottom: 1rem; }
.scc-sidebar-brand img { max-height: 2rem; width: auto; max-width: 100%; }
.scc-sidenav { display: flex; flex-direction: column; }
.scc-nav { display: flex; align-items: center; gap: .75rem; padding: .75rem 1rem; color: #525f7f !important; text-decoration: none; font-size: .9rem; font-weight: 600; border-radius: .25rem; }
.scc-nav i.las { font-size: 23px; color: #212529; width: 26px; text-align: center; }
a.scc-nav:hover { background: #f6f9fc; }
.scc-nav.is-active { color: var(--scc-primary) !important; }
.scc-nav.is-active i.las { color: var(--scc-primary); }
.scc-nav.is-soon { color: #adb5bd !important; cursor: default; font-weight: 400; }
.scc-nav.is-soon i.las { color: #ced4da; }
.scc-nav em { font-style: normal; font-size: 10px; background: #e9ecef; color: #8898aa; border-radius: 10px; padding: 1px 7px; margin-left: auto; }
.scc-nav-internal { margin-top: 1rem; border-top: 1px solid #f6f9fc; border-radius: 0; padding-top: 1rem; }
.scc-nav .scc-ext { font-size: 13px !important; width: auto !important; margin-left: auto; color: #adb5bd !important; }
.scc-content { margin-left: 250px; position: relative; }
.scc-header { position: relative; }
.scc-band { height: 10.5rem; background: linear-gradient(87deg, #00b3e4 0, #00b3e4 100%); }
.scc-topbar { position: absolute; top: 0; left: 0; right: 0; z-index: 10; display: flex; align-items: center; gap: 1rem; padding: 1rem 2rem; color: #fff; }
.scc-pagename { font-family: "Open Sans", sans-serif; text-transform: uppercase; font-weight: 600; font-size: 1rem; letter-spacing: .02em; }
.scc-grow { flex: 1; }
.scc-bell { font-size: 24px; opacity: .85; }
.scc-burger { display: none; background: none; border: 0; color: #fff; font-size: 26px; cursor: pointer; padding: 0; }
.scc-usermenu { position: relative; }
.scc-usermenu summary { list-style: none; display: flex; align-items: center; gap: .6rem; cursor: pointer; font-weight: 700; font-size: .875rem; }
.scc-usermenu summary::-webkit-details-marker { display: none; }
.scc-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: #fff; }
.scc-dropdown { position: absolute; right: 0; top: calc(100% + .6rem); min-width: 220px; background: #fff; border-radius: .375rem; box-shadow: 0 50px 100px rgba(50,50,93,.1), 0 15px 35px rgba(50,50,93,.15), 0 5px 15px rgba(0,0,0,.1); padding: .5rem 0; color: var(--scc-text); z-index: 40; }
.scc-dropdown-head { padding: .5rem 1rem; font-size: .8rem; font-weight: 700; text-transform: uppercase; color: var(--scc-muted); }
.scc-dropdown a { display: flex; align-items: center; gap: .6rem; padding: .55rem 1rem; color: var(--scc-text) !important; text-decoration: none; font-size: .875rem; }
.scc-dropdown a:hover { background: #f6f9fc; }
.scc-dropdown a i { font-size: 20px; }
.scc-dropdown hr { border: 0; border-top: 1px solid var(--scc-line); margin: .4rem 0; }
.scc-main { padding: 0 2rem 2rem; margin-top: -5.5rem; position: relative; z-index: 5; }
.scc-main > .scc-card:first-child, .scc-main > .scc-stats:first-child { margin-top: 0; }
.scc-footer { text-align: center; color: var(--scc-muted); font-size: .85rem; padding: 1rem 0 0; }
.scc-imp { background: #fff; border-left: 4px solid #fb6340; color: var(--scc-ink); padding: .75rem 1.25rem; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; border-radius: .375rem; margin: 0 0 1.25rem; box-shadow: 0 0 2rem 0 rgba(136,152,170,.15); }
.scc-cols { display: grid; grid-template-columns: 2fr 1fr; gap: 1.5rem; align-items: start; }
.scc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.scc-head h2, .scc-head .scc-h1 { margin: 0; }
.scc-avatar-row { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.scc-avatar-row img { border-radius: 50%; object-fit: cover; }
.scc-card-form { max-width: 820px; }

/* Indicadores del panel de control */
.scc-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.5rem; margin-bottom: 1.5rem; }
.scc-stat { display: flex; align-items: center; justify-content: space-between; background: #fff; border-radius: .375rem; padding: 1.25rem 1.5rem; box-shadow: 0 0 2rem 0 rgba(136,152,170,.15); text-decoration: none; color: inherit !important; }
.scc-stat:hover { transform: translateY(-2px); transition: .15s; }
.scc-stat-label { display: block; font-size: .75rem; text-transform: uppercase; font-weight: 600; color: var(--scc-muted); letter-spacing: .04em; }
.scc-stat-num { display: block; font-size: 1.75rem; font-weight: 700; color: var(--scc-ink); }
.scc-stat i.las { font-size: 26px; color: #fff; background: var(--scc-primary); border-radius: 50%; width: 3rem; height: 3rem; display: flex; align-items: center; justify-content: center; }

/* Tablas */
.scc-table-wrap { padding: 0; overflow-x: auto; }
.scc-table { width: 100%; border-collapse: collapse; }
.scc-table th, .scc-table td { padding: .85rem 1.5rem; text-align: left; border-bottom: 1px solid var(--scc-line); vertical-align: middle; font-size: .875rem; }
.scc-table th { background: #f6f9fc; color: var(--scc-muted); font-size: .65rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.scc-table tbody tr:hover { background: #fbfcfe; }
.scc-right { text-align: right !important; }
.scc-actions { white-space: nowrap; }
.scc-actions .scc-link { margin-left: 14px; }
.scc-badge { display: inline-block; padding: .25rem .75rem; border-radius: 1rem; font-size: .75rem; font-weight: 600; }
.scc-badge.is-on { background: #d5f5e8; color: #0c6b40; }
.scc-badge.is-off { background: #e9ecef; color: #6c7a89; }
.scc-badge.is-pend { background: #ffe9e3; color: #9a3a1f; }
.scc-search { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.scc-search input[type=search], .scc-search select { width: auto; padding: .35rem .6rem; }
.scc-pager { padding: 1rem 1.5rem; display: flex; gap: 6px; flex-wrap: wrap; }
.scc-pager .page-numbers { padding: .3rem .7rem; border: 1px solid var(--scc-line); border-radius: .25rem; text-decoration: none; }
.scc-pager .current { background: var(--scc-primary); color: #fff; border-color: var(--scc-primary); }

/* Campos del Core dentro del panel */
.scc .scc-core-fields .form-table { width: 100%; border-collapse: collapse; }
.scc .scc-core-fields .form-table th { text-align: left; width: 32%; padding: 8px 12px 8px 0; font-size: 13px; vertical-align: top; }
.scc .scc-core-fields .form-table td { padding: 6px 0; }
.scc .scc-core-fields .regular-text, .scc .scc-core-fields .large-text { width: 100%; }
.scc .scc-core-fields .small-text { width: 110px; }
.scc .scc-core-fields .description { color: var(--scc-muted); font-size: 13px; }
.scc #sc-horarios .button { background: #fff; border: 1px solid var(--scc-primary); color: var(--scc-primary); border-radius: 6px; padding: 6px 12px; cursor: pointer; font: inherit; }
.scc #sc-horarios .button-primary { background: var(--scc-primary); color: #fff; }
.scc #sc-horarios input, .scc #sc-horarios select { width: auto; }
.scc #sc-horarios input[type=text] { min-width: 70px; }

@media (max-width: 991px) {
	.scc-sidebar { transform: translateX(-100%); transition: transform .2s; }
	.scc-app.is-open .scc-sidebar { transform: none; }
	.scc-content { margin-left: 0; }
	.scc-burger { display: block; }
	.scc-topbar { padding: 1rem; }
	.scc-main { padding: 0 1rem 1.5rem; }
	.scc-username { display: none; }
}
@media (max-width: 700px) {
	.scc-cols { grid-template-columns: 1fr; }
	.scc-grid { grid-template-columns: 1fr; }
}
