/* DOM */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background-color:#f4f6fa; }
body { font-family: 'Roboto', sans-serif; min-height: 100vh; display: flex; flex-direction: column; color:#212529; }
header.site-header { position: sticky; top: 0; z-index: 1000; background-color:#fff; display: flex; justify-content: space-between; align-items: center; padding: 0.5rem 1rem; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }            
main { background-color: #f5f5fa; display: flex; flex-direction: column; align-items: center; padding: 2rem 1rem; }
md-outlined-card, md-filled-card { width: 95%; display: flex; flex-direction: column; padding: 1rem; }
h1, h2, h3, h4, h5, h6 { color: #012e67; }
footer { text-align: center; padding: 1rem; color: #777; background: #fff; box-shadow: 0 -1px 3px rgba(0,0,0,0.1); }
select { height: 2.625em; }
a { text-decoration:none; color:initial; }
a:hover { text-decoration:none; color:initial; }
hr { width:80%; margin-left:10%; }

/* PANEL */
/* NAV UL */
aside.sidebar { width: 220px; background-color: #012e67; color: #fff; display: flex; flex-direction: column; align-items: flex-start; padding: 1rem 0; z-index:99; }
nav ul { list-style: none; width: 100%; padding: 0; margin: 0; }
nav ul li { width: 100%; }
nav ul li a, nav ul li button { display: block; width: 100%; padding: 0.6rem 1rem; text-decoration: none; text-align: left; background: none; border: none; font-size: 1rem; color: #fff; cursor: pointer; }
nav ul li a:hover, nav ul li button:hover { background-color: rgba(255,255,255,0.2); color:#fff; }

/* CLASES */
.logo-container { display: flex; align-items: center; gap: 0.5rem; }
.logo-text { font-weight: 600; font-size: 1.2rem; }
.card { background-color:#f4f6fa; border-radius:3rem; margin-bottom:1rem; border:none; }
.button-m { padding: 1rem 2rem; --md-sys-color-primary: #012e67; --md-sys-color-on-primary: #ffffff; }
.hero { text-align: center; max-width: 80%; width: 80%; }
.dark { background-color:#012f68; }
.light { background-color:#f5f5fa; }
.logo { width: 80%; }
.hero .md-typescale-headline-medium { margin-bottom: 1rem; font-size: 2rem; }
.hero p { font-size: 1.4rem; line-height: 1.4; color: #333; }
.cards-container { flex-wrap: wrap; gap: 1rem; justify-content: center; max-width: 100%; width: 100%; padding: 3rem 1rem; }
.card-header { font-weight: 600; margin-bottom: 0.5rem; font-size: 1.2rem; }
.card-content { flex: 1; font-size: 1.1rem; color: #555; margin-bottom: 1rem; }
.icon { width:75%; }
.bg-white { background-color:#fff; }
.usd { color:#012e67; font-size:3rem; font-weight:bold; }
.mainColor { color:#012e67; }
.white { color:#fff; }
.plan-card .card-content ul { list-style: none; margin: 0; padding: 0; }
.plan-card .card-content ul li { margin-bottom: 0.5rem; padding-left: 1.5rem; position: relative; font-size: 1rem; color: #333; }
.plan-card .card-content ul li::before {content: "•"; position: absolute; left: 0; top: 0.1rem; color: #012e67; font-weight: bold; font-size: 1.2rem; }
.form-table { width:100%; border-collapse: separate; border-spacing: 0 0.7rem; }
.form-table input[type="text"], .form-table input[type="password"], .form-table select, .form-table textarea { width: 100%; box-sizing: border-box; border: 1px solid #ccc; border-radius: 4px; outline: none; margin:0; border-color: #666; }
.badge { font-size:small; border-radius:5px; padding:2px 4px; background-color:#6c757d;}
.badge-green { background-color:#196f3d;}
.badge-red { background-color:#a93226;}

.titulo { font-size: 1.4rem; font-weight: 600; line-height: 2rem; word-break: break-all; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; color:#0c3ebb; }
.subtitulo { font-size: 1.2rem; line-height: 2rem; word-break: break-all; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.small { font-size:smaller; color:#77777a; }
.red { color:#a93226; }

.suspensivo { word-break: break-all; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; font-size:smaller; color:#77777a; }  

/* PANEL */
.page-container { display: flex; min-height: 100vh; }
.sidebar .logo { display: block; width: 100%; text-align: center; margin-bottom: 1rem; font-size: 1.2rem; font-weight: bold; text-decoration: none; color: #fff; }
.main-content { flex: 1; padding: 1rem; background: #f4f6fa; }
.nav-menu { width: 100%; }
.logo-aside { margin-top: auto; padding: 1rem; display: block; text-align: center; }
.mainContent { background-color:#fff; border-radius:3rem; padding:2rem; }

.tablaDatos { margin:2rem; width: 95%; }
.tablaDatos tr td { border-bottom: solid 1px #f4f4f4; padding:5px 15px; }

/* RESPONSIVE (ejemplo) */
@media (max-width: 600px) {
    .hero { max-width: 100%; width: 100%; }
    .cards-container { flex-direction: column; align-items: center; }
    .icon { width:33%; }
    
    /* PANEL */
    aside.sidebar { position: fixed; left: -220px; top: 0; height: 100%; transition: left 0.3s ease; }
    aside.sidebar.open { left: 0; }
    .menu-toggle-btn { position:fixed; display: block; background: #012e67; border: none; padding: 0.5rem 1rem; cursor: pointer; border-radius:15px; top:1.5rem; right:1.5rem; }
}
