@font-face {
	font-family: "Raleway Bold";
	src: url("/src/fonts/Raleway/Raleway-Bold.woff2")
			format("woff2"),
		url("/src/fonts/Raleway/Raleway-Bold.woff")
			format("woff");
	font-weight: bold;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: "Raleway Regular";
	src: url("/src/fonts/Raleway/Raleway-Regular.woff2")
			format("woff2"),
		url("/src/fonts/Raleway/Raleway-Regular.woff")
			format("woff");
	font-weight: bold;
	font-style: italic;
	font-display: swap;
}

* {
	font-family: "Raleway Regular";
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
	font-family: "Raleway Regular";
    line-height: 1.6;
    background-color: #fff;
    color: #333;
}

:root {
    --dark-blue: #0071CC;
    --beige: #F3F1EA;
    --soft-blue: #C4E6F8;
    --black: #4D4D4D;
    --green: #00904A;
    --cyan: #B7F3E4;
    --orange: #F4542F;
    --yellow: #FFE252;
    --red: #BB503F;
    --pink: #FFBBE4;

    --transition: 0.3s ease;
}

a {
    text-decoration: none;
}

.text-center { text-align: center; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }

.btn {
    padding: 10px 18px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
}

input, select, textarea {
    width: 100%;
    padding: 4px 10px;
    border-radius: var(--radius);
    border: 1px solid #ccc;
    margin-bottom: 15px;
}


/* ------------------------- DASHBOARD ------------------------------- */
body {
    display: flex;
    background: var(--cyan);
    color: var(--black);
}

/* ===== SIDEBAR ===== */
.sidebar {
    width: 18%;
    background: #ffffff;
    padding: 20px;
    height: 100vh;
    border-right: 1px solid #dcdcdc;
    position: fixed;
    padding-right: 0px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.logo div{
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 50px;
}

.logo h2 {
    color: var(--dark-blue);
    font-size: 22px;
}

.user-info {
    margin-top: 25px;
    text-align: center;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
}

.user-info div {
    width: calc(100% - 70px);
    text-align: start;
}

.user-info div h3 {
    line-height: 10px;
    color: var(--dark-blue);
}

.user-info div p {
    color: var(--dark-blue);
    word-break: break-word;
}

.avatar {
    width: 70px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.menu {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
}

.menu a {
    padding: 10px;
    margin: 4px 0;
    text-decoration: none;
    color: var(--black);
    font-weight: bold;
    transition: var(--transition);
}

.menu a:hover,
.menu a.active {
    background: var(--cyan);
    color: var(--dark-blue);
}

.logout {
    margin-top: 20px;
    display: block;
    color: var(--red);
    font-weight: bold;
}

/* ===== MAIN CONTENT ===== */
.main {
    margin-left: 18%;
    width: 100%;
}

/* ===== TOPBAR ===== */
.topbar {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background-color: #fff;
    width: 100%;
    padding: 15px;

}

.notif-icon {
    position: relative;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.notif-icon .dot {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 15px;
    height: 15px;
    background: var(--red);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    color: #fff;
}

.notif-icon svg {
    width: 30px;
    fill: var(--dark-blue);
}

/* ===== BANNER ===== */
.banner {
    background: var(--cyan);
    padding: 12px;
    margin-top: 15px;
    border-radius: 8px;
    border: 1px solid var(--dark-blue);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.banner div {
    display: flex;
    gap: 6px;
}

.banner p {
    color: var(--dark-blue);
}

.banner svg{
    width: 20px;
    fill: var(--dark-blue);
}

.banner button{
    margin: 0px;
    background-color: transparent;
    border: none;
}

/* ===== STATS CARDS ===== */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.card {
    padding: 20px;
    border-radius: 12px;
    color: var(--black);
}

.card h3 {
    font-size: 15px;
    margin-bottom: 10px;
}

.card span {
    font-size: 28px;
    font-weight: bold;
}

/* Colores usando tus variables */
.card.blue { background: var(--dark-blue); color: white; }
.card.green { background: var(--green); color: var(--cyan); }
.card.yellow { background: var(--yellow); color: var(--dark-blue);}
.card.pink { background: var(--pink); color: var(--orange);}

/* ===== TABLE SECTION ===== */
.grid-2 {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.table-box, .notify-box {
    background: white;
    /* padding: 20px; */
    border-radius: 12px;
    overflow: hidden;
}

.title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: var(--dark-blue);
    color: #fff;
    border-bottom: 1px solid var(--cyan);
}

.title-row button {
    border: 1px solid #fff;
    border-radius: 30px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table thead {
    background: var(--dark-blue);
    color: white;
}

table th, table td {
    padding: 10px;
    border-bottom: 1px solid #e3e3e3;
    text-align: center;
}

.badge {
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    color: white;
}

.badge.yellow { background: var(--yellow); color: var(--black); }
.badge.green { background: var(--green); }

/* Buttons */
.btn {
    padding: 8px 14px;
    background: var(--dark-blue);
    border: none;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition);
}

.btn.small { padding: 5px 10px; font-size: 12px; }
.btn.green { background: var(--green); }
.btn.gray { background: #777; }

/* ===== NOTIFICATIONS ===== */
.notify-item {
    display: flex;
    gap: 10px;
    padding: 10px;
    align-items: flex-start;
    border-bottom: 1px solid #eee;
}

.notify-item svg,
.notify-item img {
    width: 25px;
    fill: var(--dark-blue);
}

.dot-warning {
    width: 10px;
    height: 10px;
    background: var(--orange);
    border-radius: 50%;
}

.dot-info {
    width: 10px;
    height: 10px;
    background: var(--dark-blue);
    border-radius: 50%;
}

#principal-content-dash {
    padding: 20px;
}

#principal-content-dash>h1 {
    color: var(--dark-blue);
    font-size: 35px;
}

.btn-pagar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.btn-pagar svg {
    width: 15px;
    fill: #fff;
}

.btn-pagado {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    border: 1px solid var(--green);
    background-color: transparent;
}

.btn-pagado svg {
    width: 25px;
    fill: var(--green);
}

.btn-pagado svg {
    width: 15px;
    fill: var(--green);
}

.btn-pagado span {
    color: var(--green);
}

#content-hijos {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.card-hijos {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: #fff;
    border-radius: 20px;
    gap: 10px;
}


.card-hijos img{
    width: 80px;
}

.card-hijos h2{
    font-size: 22px;
    color: var(--dark-blue);
    font-weight: bold;
}

.card-hijos p{
    color: var(--black);
    font-size: 16px;
}

.card-hijos>span{
    font-size: 14px;
    background-color: var(--dark-blue);
    padding: 4px 8px;
    border-radius: 6px;
    color: #fff;
}

.content-btns-hijos {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.btn-lineas {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    border: 1px solid var(--green);
    background-color: transparent;
    border-radius: 30px;
}

.btn-lineas.azul {
    border: 1px solid var(--dark-blue);
}

.btn-lineas.naranja {
    border: 1px solid var(--red);
}

.btn-lineas svg {
    width: 25px;
    fill: var(--green);
}

.btn-lineas.azul svg {
    fill: var(--dark-blue);
}

.btn-lineas.naranja svg {
    fill: var(--red);
}

.btn-lineas.azul span {
    color: var(--dark-blue);
}

.btn-lineas.naranja span {
    color: var(--red);
}

.btn-lineas svg {
    width: 15px;
    fill: var(--green);
}

.td-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.border-1 {
    border-radius: 6px;
}

#content-perfil {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    margin-top: 20px;
}

#content-info-perfil {
    width: 25%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background-color: #fff;
    border-radius: 20px;
    padding: 20px;
}

#edit-photo-perf {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

#edit-photo-perf img{
    width: 90px;
}

#edit-photo-perf button {
    width: 35px;
    position: absolute;
    bottom: -10px;
    right: -10px;
    border-radius: 50%;
    background-color: var(--dark-blue);
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1/1;
}

#content-info-perfil h2{
    font-size: 25px;
    color: var(--dark-blue);
    font-weight: bold;
}

#content-info-perfil p{
    font-size: 18px;
    color: var(--black);
}

#content-info-perfil button {
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
}

#content-info-perfil svg {
    width: 20px;
}


#edit-photo-perf button svg{
    width: 70%;
    fill: #fff;
}

#content-edit-perfil {
    width: 75%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    background-color: #fff;
    overflow: hidden;
}

#content-edit-perfil h3{
    width: 100%;
    text-align: start;
    padding: 8px 10px;
    background-color: var(--dark-blue);
    color: #fff;
    font-size: 25px;
}

#content-edit-perfil form{
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px;
}

.content-input {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 4px;
}

.content-input label{
    font-size: 16px;
    color: var(--dark-blue);
    font-weight: bold;
}

.content-input select,
.content-input input{
    font-size: 16px;
    width: 100%;
    padding: 10px;
    border: 1px solid var(--dark-blue);
    border-radius: 6px;
    margin: 0px;
}

#content-btns-form-perfil {
    grid-column: 1 / -1;
    justify-content: flex-end;
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#content-btns-form-perfil a,
#content-btns-form-perfil button{
    font-size: 20px;
    border-radius: 40px;
    padding: 10px 20px;
}

#content-btns-form-perfil a svg,
#content-btns-form-perfil button svg{
    width: 22px;
}

#content-btns-form-perfil button:first-child{
    color: var(--cyan);
}

#content-btns-form-perfil button:last-child{
    background-color: var(--cyan);
    color: var(--dark-blue);
}

#content-btns-form-perfil button:first-child svg{
    fill: var(--cyan);
}

#content-btns-form-perfil button:last-child svg{
    fill: var(--dark-blue);
}

.btn-menu-close {
    display: none;
    justify-content: center;
    align-items: center;
    border: none;
    background-color: transparent;
}

.btn-menu-close svg{
    fill: var(--dark-blue);
    width: 40px;
}

.btn-menu {
    display: none;
    justify-content: center;
    align-items: center;
    border: none;
    background-color: transparent;
}

.btn-menu svg{
    fill: var(--dark-blue);
    width: 40px;
}

.sidebar form {
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 20px;
    left: 20px;
}

.sidebar form button {
    border: none !important;
}

.content-edit-perfil-full {
	width: 100% !important;
}

.text-light {
    font-weight: lighter !important;
    color: var(--cyan);
}

.btn-hijos svg {
    width: 30px !important;
    fill: var(--cyan);
}

.content-btns-form-perfil-hijo a {
    background-color: var(--cyan);
}

.content-btns-form-perfil-hijo a span{
    color: var(--dark-blue);
}

.content-btns-form-perfil-hijo a svg{
    fill: var(--dark-blue);
}

.progress-bar {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
}

.progress-bar .step {
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	position: relative;
}

.step-bg {
	background-color: #ABD4BA;
	border-radius: 8px;
	height: 4px;
	content: "";
	width: 100%;
}

.step.completed .step-bg {
	background-color: #00904A;
}

.step .step-label {
	color: #ABD4BA;
}

.step.completed .step-label {
	font-size: 14px;
	color: #00904A;
}

.c-btn-sig {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 20px;
}

.c-btn-sig a,
.c-btn-sig button {
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #275441;
	color: #fff;
	border-radius: 20px;
	padding: 5px 20px;
	font-size: 18px;
    border: none;
	cursor: pointer;
}

.content-info-inp {
    width: 100%;
}

.content-info-inp select {
    box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    border: none;
    border-radius: 6px;
}

.content-btns-reembolsos svg{
    width: 30px;
}

.content-btns-reembolsos span{
    font-size: 20px;
}










/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 1024px) {
    .btn-menu-close {
        display: flex;
    }

    .btn-menu {
        display: flex;
    }

    .sidebar {
        width: 100%;
        height: 100vh;
        position: fixed;
        padding-right: 20px;
        z-index: 1;
        transform: translateX(0);
        transition: transform 0.3s ease-in-out;
    }

    .sidebar.hidden {
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
    }

    .main {
        margin-left: auto;
    }

    .topbar {
        justify-content: space-between;
        padding: 15px;
    }

    .table-box{
        overflow: auto;
    }

    #content-hijos {
        grid-template-columns: 1fr;
    }

    #content-perfil {
        flex-direction: column;
    }

    #content-info-perfil {
        width: 100%;
    }

    #content-info-perfil h2 {
        text-align: center;
        font-size: 18px;
    }

    #content-edit-perfil {
        width: 100%;
    }

    #content-edit-perfil form {
        grid-template-columns: 1fr;
        gap: 0px;
    }

    #content-btns-form-perfil {
        justify-content: center;
        align-items: center;
    }

    .card span {
        font-size: 15px;
    }

    #content-btns-form-perfil a, #content-btns-form-perfil button {
        padding: 2px 20px;
    }

    .content-btns-form-perfil-hijo {
        margin-top: 20px;
    }
    .progress-bar {
        width: 100%;	
        margin-bottom: 20px;
    }
    
    .step span {
        font-size: 10px;
        text-align: center;
    }
    
    .step.completed .step-label {
        font-size: 10px;
    }
}