﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: "Prompt", "Open Sans";
    color: #575757;
}

#app {
    height:100%;
    position: relative;
    display: flex;
    flex-direction: column;
}

.main {
    flex: 1;
}

.header-logo {
    width: 252px;
    margin-right: auto;
}

.sidebar-button {
    display: none
}


.content {
    height: 100%;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }


/* Authentication Styles */
.auth-card {
    width: 100%;
    box-shadow: 0px 0px 50px -19px #111118;
    border: none;
    border-radius: 6px;
}

.auth-nav-tabs {
    display: flex;
    flex-wrap: wrap;
    padding: 0px;
    width: 100%;
    list-style: none;
}

.auth-login-tab {
    background-color: #03bad2;
    color: white;
    width: 50%;
    text-align: center;
    box-shadow: 0px 1px 0 0 #5c666f;
}

.auth-signup-tab {
    background-color: #f32678;
    color: white;
    width: 50%;
    text-align: center;
}

.auth-login-error {
    background:#ff3e00;
    color:white;
    text-align: center;
}
.auth-login-success {
    background: #7ed321;
    color: white;
    text-align: center;
}

.auth-form-icon {
    background: #f1f1f1;
    border: 1px white;
    border-radius: 3px 0px 0px 3px;
}

.auth-form {
    background: white;
    border-radius: 0px 3px 3px 0px;
    border: 1px solid #f1f1f1;
}

.auth-login-button {
    height: 80px;
    width: 100%;
    background: #8000ff;
    color: #fff;
    border-radius: 0px 0px 6px 6px !important;
}

.auth-login-button:hover {
    font-size: 16px;
    transition: font-size 0.5s ease-in-out;
    color: white;
}
.auth-back-icon {
    box-sizing: content-box !important;
    background: #fff;
    border-radius: 100px;
    height: 10px;
    width: 10px;
    padding: 0;
    position: absolute;
    top: 14px;
    left: 14px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    color: #333;
    z-index: 100;
    border: 6px solid #fff;
    cursor: pointer;
    line-height: 0;
}
/* Authentication Styles */

/* for sidebar breakpoint */
@media (max-width: 960px) {
    .sidebar-button {
        display: initial;
        color: #8A42B6 !important;
        margin-right: auto;
        line-height: inherit;
        border: none;
        font-size: 14px;
        border-radius: 0;
    }

        .sidebar-button:focus {
            outline: 0 !important;
            border: 0 !important;
            box-shadow: none;
        }

    .mdc-top-app-bar__section--align-start {
        justify-content: space-between !important;
    }

    .mdc-drawer {
        z-index: 7 !important;
        top: 0 !important;
    }

    .header-logo {
        display: none;
    }
}
/* for sidebar breakpoint */
@media (min-width: 960px) {
    .sidebar {
        width: 240px;
        position: sticky;
    }

    .mdc-drawer {
        z-index: 6 !important;
    }
}

@media (max-width: 767.98px) {
    .main .top-row:not(.auth) {
        display: none;
    }

    .main .top-row.auth {
        justify-content: space-between;
    }

    .main .top-row a, .main .top-row .btn-link {
        margin-left: 0;
    }

    .content-wrapper {
        display: block;
    }
}

@media (min-width: 768px) {
}

.zoom-element {
    color: #f42e7d;
}
.btn-download {
    color: #fff;
    background-color: #8a42b6;
    border-color: #601b57;
}

    .btn-download:hover {
        color: #fff;
        background-color: #841fb7;
        border-color: #3a064a;
    }

.btn-enroll {
    color: #fff;
    background-color: #27cdae;
    border-color: #212529;
}
    .btn-enroll:hover {
        color: #fff;
        background-color: #00b997;
    }

.btn-reschedule {
    color: #fff;
    background-color: #f52f7e;
    border-color: #212529;
}
    .btn-reschedule:hover {
        color: #fff;
        background-color: #fb0064;
    }

.btn-filter-activity {
    color: #fff;
    background-color: #841fb7;
    border-color: #212529;
}

    .btn-filter-activity:hover {
        color: #fff;
        background-color: #671392;
    }

.btn-filter-preschool {
    color: #fff;
    background-color: #f52e7d;
    border-color: #212529;
}

    .btn-filter-preschool:hover {
        color: #fff;
        background-color: #ef126a;
    }

.flag-badge {
    display: inline-block;
    background-color: #fdce03 !important; /* Color de fondo */
    color: #1b1b1b;
    padding: 8px 16px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 4px;
    position: relative;
    clip-path: polygon(10px 0%, 100% 0%, 100% 100%, 10px 100%, 0% 50%);
    margin-right: -10px;
    margin-top: -10px;
}
.old-price {
    text-decoration: line-through !important;
}
.green {
    background-color: #31aa98;
    color: #fff !important;
}
.odd {
    background-color: #F52E7D;
    color: #fff !important;
}
.even {
    background-color: #02BAD1;
    color: #fff !important;
}
.odd:hover,
.odd.selected {
    color: #fff !important;
    background-color: #8A42B6;
}
.even:hover,
.even.selected {
    color: #fff !important;
    background-color: #8A42B6;
}
.green:hover,
.green.selected {
    color: #fff !important;
    background-color: #8A42B6;
}





.app-prompt-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
    padding: 20px;
}

.app-prompt-modal {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.app-prompt-content {
    padding: 40px 30px;
    text-align: center;
}

.app-prompt-icon {
    margin-bottom: 24px;
    color: #8a42b6;
    background: linear-gradient(135deg, #8a42b6 0%, #6d3494 100%);
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 10px 20px rgba(138, 66, 182, 0.3);
}

    .app-prompt-icon svg {
        width: 40px;
        height: 40px;
        stroke: white;
    }

.app-prompt-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.app-prompt-description {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

.app-prompt-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.btn-open-app, .btn-download-app {
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-open-app {
    background: linear-gradient(135deg, #8a42b6 0%, #6d3494 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(138, 66, 182, 0.3);
}

    .btn-open-app:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(138, 66, 182, 0.4);
        background: linear-gradient(135deg, #6d3494 0%, #5a2b7a 100%);
    }

.btn-download-app {
    background: white;
    color: #8a42b6;
    border: 2px solid #e9d7f9;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

    .btn-download-app:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        border-color: #8a42b6;
        background: #f8f0ff;
    }

.btn-continue-browser {
    background: transparent;
    border: none;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

    .btn-continue-browser:hover {
        color: #8a42b6;
        background: rgba(138, 66, 182, 0.05);
    }

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px) scale(0.95);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* Responsive design */
@media (max-width: 480px) {
    .app-prompt-content {
        padding: 32px 20px;
    }

    .app-prompt-modal {
        max-width: 340px;
    }

    .app-prompt-title {
        font-size: 22px;
    }

    .app-prompt-description {
        font-size: 14px;
    }
}

.enroll-btn-custom {
    border: 2px solid #ddd;
    background-color: white;
    transition: all 0.3s ease;
}

    .enroll-btn-custom.selected {
        background-color: #8A42B6;
        color: white;
        border-color: #8A42B6;
    }

    .enroll-btn-custom.disabled-btn {
        opacity: 0.5;
        background-color: #f5f5f5;
    }

    .enroll-btn-custom:not(.disabled-btn):hover {
        border-color: #8A42B6;
    }