@font-face {
    font-family: 'tipo';
    src: url('tipo.woff2');
}
:root {color-scheme: dark;}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    background: #1e1e1e;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, sans-serif;
    padding: 2rem 1.5rem;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.card {
    max-width: 1300px;
    width: 100%;
    background: transparent;
    border-radius: 0;
}
.card-inner {
    padding: 0;
}
.header {
    margin-bottom: 2rem;
}
.flor {
    display:block;
    text-align:center;
    font-size:31px;
}
h1 {
    font-size: 3.9rem;
    font-weight: 650;
    color: #E0218A;
    letter-spacing: -0.3px;
    margin-bottom: 0.2rem;
    text-align:center;
    font-family: 'tipo';
    margin-bottom:0px;
}
.header p {
    color: #ffffff;
    font-size: 18px;
    margin-top: 0rem;
    text-align: center;
}
.footer {
    display:block;
    margin:15px auto;
}
.footer span {
    text-align:center;
    display:block;
    color: #fff;
}
.controls {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    background: #000000;
    border-radius: 1.5rem;
    padding: 1.2rem 1.8rem;
    margin-bottom: 2rem;
}
.field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex: 1;
    min-width: 150px;
}
.field label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #ffffff;
}
.field input {
    width: 100%;
    min-width: 0;
    background: #19191f;
    border-radius: 1.5rem;
    padding: 0.7rem 1.2rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #f5f3f7;
    transition: all 0.2s;
    font-family: inherit;
    border: none;
}
.field input:focus {
    outline: none;
    border-color: #ff1493;
    box-shadow: 0 0 0 3px rgba(255, 20, 147, 0.2);
}
.legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.8rem;
    margin-bottom: 20px;
    background: #000000;
    padding: 0.7rem 1.5rem;
    border-radius: 3rem;
}
.legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #e8e6ed;
}
.dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.calendars {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    transition: opacity 0.15s;
}
.month {
    flex: 1;
    min-width: 290px;
    background: #19191f;
    border-radius: 1.5rem;
    overflow: hidden;
}
.month-header {
    background: #000000;
    padding: 1rem;
    text-align: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: #ffffff;
}
.week-row {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}
.weekday {
    text-align: center;
    font-weight: 600;
    font-size: 0.7rem;
    padding: 0.8rem 0;
    color: #ffffff;
    background: #19191f;
    text-transform: uppercase;
}
.day {
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid #383840;
    background: #19191f;
    text-align: center;
    padding: 0.2rem;
}
.day-number {
    font-size: 1rem;
    font-weight: 700;
}
.day-icon {
    font-size: 1.2rem;
    margin-top: 3px;
    line-height: 1;
}
.sangrado {
    background: #c30a0a;   
    color: white;
}
.fertil {
    background: #ffacc8;   
    color: white;
}
.ovulacion {
    background: #ffc107;   
    color: #2c1e24;
}
.seguro {
    background: #4caf50;   
    color: white;
}
.fuera {
    background: #444444;
    color: #858585;
}
.box-icon {
    display:inline;
    padding: 3px;
    border-radius:1000px;
}
.box-sangrado {
    background: #c30a0a;  
}
.box-fertil {
    background: #ffacc8; 
}
.box-ovulacion {
    background: #ffc107;  
}
.box-seguro {
    background: #4caf50;  
}
.info {
    margin-top: 2rem;
    background: #000000;
    border-radius: 1.2rem;
    padding: 1rem 1.5rem;
    font-size: 0.85rem;
    color: #e8e6ed;
    border-left: 4px solid #ffffff;
}
.info strong {
    color: #ffffff;
}
hr {
    margin: 0.8rem 0;
    border: none;
    height: 1px;
    background: #383840;
}
.field small,
.storage-status {
    color: #c5c3cd;
    font-size: 0.8rem;
    line-height: 1.6;
}
.storage-status {
    margin: -1rem 0 1.5rem;
    text-align: center;
}
.empty-state {
    width: 100%;
    padding: 3rem 1.5rem;
    text-align: center;
    border: 1px dashed #464650;
    border-radius: 1.5rem;
    color: #c5c3cd;
    line-height: 1.7;
}
.empty-state strong {
    display: block;
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}
.info {
    line-height: 1.8;
}
.info p + p {
    margin-top: 0.6rem;
}
.info a {
    color: #ffffff;
}
.estimate {
    margin-bottom: 1rem;
    color: #ffffff;
    line-height: 1.6;
    text-align: center;
    margin: 20px auto 0;
    background: #0070b5;
    padding: 10px 20px;
    border-radius: 1000px;
    font-weight: 600;
}
[hidden] {
    display: none !important;
}
@media (max-width: 720px) {
    .estimate {
        border-radius: 12px;
    }
    .card-inner {
        padding: 1.2rem;
    }
    .day-icon {
        font-size: 1rem;
    }
    .day-number {
        font-size: 0.85rem;
    }
}
@media (max-width: 400px) {
    body {
        padding: 1rem 0.5rem;
    }
    .card-inner {
        padding: 1rem;
    }
    .controls {
        padding: 1rem;
    }
    .month {
        min-width: 0;
        width: 100%;
        flex-basis: 100%;
    }
    .legend {
        border-radius: 1rem;
        justify-content: flex-start;
        gap: 0.8rem;
    }
}