@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Barlow+Semi+Condensed:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

* {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
     font-family: 'Montserrat', sans-serif;
     transition: 1s ease-in-out;
}

*::-webkit-scrollbar {
    width: 10px;
}
        
*::-webkit-scrollbar-track {
    background: none; 
}
*::-webkit-scrollbar-thumb {
    border-radius: 8em;
    box-shadow: -1px 2px 5px #00000060, inset 4px 0px 5px #00000073;
    background: #0051bb;
}
*::-webkit-scrollbar-thumb:hover {
    background: #00367e; 
    border-radius: 10px;
}

body {
    background: #b1b1b1;
}

.line {
    opacity: .5;
    margin: 0 auto;
    width: 100%;
    height: 1px;
    border-radius: 8em;
    background: #ffffff7e;
    box-shadow: 0px 1px 2px #ffffff, 0px -.5px 2px #000000a6, inset 0px 0px 3px #0000009a;
}

.marker {
    position: absolute;
    right: -33px;
    content: '';
    width: 30px;
    height: 6px;
    border-radius: 8em;
    box-shadow: 2px 1px 5px #757575c2, 2px 1px 5px #00000060, inset 0px -4px  5px #00000073;
    background: #006eff;
}

nav {
    display: flex;
    flex-direction: column;
    align-items: left;
    padding: 60px 20px 30px 20px;
    width: 260px;
    height: 100vh;
    gap: 40px;
    position: relative;
    z-index: 99;
    .main-logo {
        position: absolute;
        top: -10px;
        left: 10px;
        svg {
            width: 100px;
            height: 100px;
            fill: #004eb4;
            
        }
    }
    .icon-menu {
        position: absolute;
        top: 30px;
        right: 20px;
        width: 23px;
        height: 17px;
        background: #9B9B9B;
        border-radius: 5px;
        box-shadow: -1px .7px 2px #ffffff42, -2px 2px 5px #0000004d inset;
        display: flex;
        align-items: center;
        justify-content: left;
        div {
            margin-left: 2px;
            width: 4px;
            height: calc(100% - 4px);
            background: #004eb4;
            border-radius: 8em;
        }
    }
    .info {
        margin-top: 30px;
        display: flex;
        align-items: center;
        justify-content: left;
        gap: 10px;
        .left {
            display: flex;
            align-items: center;
            gap: 10px;
            img {
                width: 40px;
                height: 40px;
                border-radius: 50%;
                object-fit: cover;
  
            }

        }
        .right {
            display: flex;
            flex-direction: column;
            gap: 0px;
            h2 {
                font-size: 13px;
                font-weight: 300;
                .user-name {
                    font-size: 13px;
                    font-weight: 800;
                    color: #333;
                }
            }
            .email {
                font-size: 14px;
                color: #666;
            }
        }
    }
    .buttons {
        display: flex;
        flex-direction: column;
        gap: 20px;
        position: relative;
        padding-top: 30px;
        .NAVMarker {
            position: absolute;
            top: 0;
            right: -32px;
            width: 6px;
            height: 30px;
            border-radius: 8em;
            box-shadow: -1px 2px 5px #757575c2, -1px 2px 5px #00000060, inset 4px 0px 5px #00000073;
            background: var(--current-active-color);
            transition: .5s;
        }
        button {
            text-wrap: nowrap;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            padding: 10px 20px;
            font-size: 14px;
            font-weight: 700;
            background-color: transparent;
            --text-color: #000;
            color: var(--text-color);
            border-radius: 12px;
            cursor: pointer;
            transition: .5s ease;
            display: flex;
            justify-content: left;
            border: .5px solid transparent;
            &:hover {
                background-color: #ffffff18;
                box-shadow: 2px 10px 20px rgba(0, 0, 0, 0.2);
            }
            &.active {
                background: linear-gradient(to left, color-mix(in srgb, var(--text-color), transparent 75%), transparent);
                box-shadow: -5px 8px 20px rgb(255, 255, 255), -5px 9px 20px rgb(0, 0, 0), inset 0px 0px 6px rgba(0, 0, 0, 0.2);
                border: .5px solid #ffffff2f;
                --text-color: #004eb4;
                position: relative;
                
                &[data-page="support"] {
                    background: #000;
                    --text-color: #fff;
                }
                &[data-page="register-courses"] {
                    --text-color: #ff4800;
                }
                &[data-page="schedule"] {
                    --text-color: #006958;
                }
                
            }
            svg {
                width: 20px;
                height: 20px;
                border-radius: 8em;
                &.logo {
                    background: #ffffff;
                    border: .3px solid #fff;
                }
            }
            &[data-page="support"] {
                svg:nth-child(2) {
                    width: 14px;
                    height: 14px;
                }
            }
            &[data-action="logout"] {
                color: #ac0000;
            }
        }

        /* SESSÕES DO MENU LATERAL*/
        &.web {
            &::after {
                position: absolute;
                top: 0;
                left: 0;
                content: attr(data-name-section);
                font-weight: 700;
                font-size: 13px;
                color: #33333379;
            }
        }
    }
}

main {
     display: flex;
     justify-content: center;
     align-items: center;
}

section {
    position: relative;
    display: none;
    width: 100%;
    height: calc(100vh - 16px);
    background: #9B9B9B;
    border-radius: 12px;
    border: .5px solid #ffffff2f;
    margin: 8px;
    box-shadow: -2px 0px 5px #ffffff2f, inset -5px 2px 6px rgba(0, 0, 0, 0.301);
    padding: 30px;
    flex-direction: column;
    overflow: hidden;
    overflow-y: scroll;
    z-index: 0;
    header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        .left {
            display: flex;
            flex-direction: column;
            h1 {
                font-weight: 500;
            }
            p {
                font-size: 14px;
                color: #333;
                margin-left: 2px;
            }
        }
    }
    .info-cards {
        display: flex;
        align-items: center;
        gap: 30px;
        margin-top: 20px;
        .card {
            background: linear-gradient(45deg, #00367e, #001b3f);
            border-radius: 14px;
            padding: 14px;
            width: 300px;
            height: 130px;
            .name {
                font-size: 13px;
                font-weight: 500;
                color: #fff;
            }
            .content-number {
                display: flex;
                align-items: center;
                gap: 10px;
                .number {
                    margin-top: 20px;
                    font-size: 3.6em;
                    font-weight: 500;
                    text-shadow: 0px 4px 10px #0000001a;
                    color: #fff;
                }
                .trend-enrollment {
                    align-self: flex-end;
                    margin-bottom: 12px;
                    span {
                        padding: 2px 5px;
                        background: #00000028;
                        display: flex;
                        align-items: center;
                        font-size: 12px;
                        font-weight: 700;
                        border-radius: 5px;
                        svg {
                            width: 17px;
                            height: 17px;
                        }
                    }
                }
            }
            &:nth-child(2) {
                background: #a8a8a8;
                .name {
                    color: #000;
                }
                .content-number {
                    .number {
                        color: #000;
                    }
                }
            }
        }
    }
    .conetent-actions {
        display: flex;
        align-items: center;
        gap: 20px;
        border: .5px solid #0000001a;
        border-radius: 10px;
        padding: 5px 5px 5px 10px;
        margin: 30px 20px 20px 0px;
        .content-left {
            span {
                font-size: 14px;
                color: #000000;
                font-weight: 600;
                strong {
                    color: #000000a2;
                }
            }
        }
        button {
            background: #004eb4;
            color: #fff;
            border-radius: 5px;
            border: none;
            padding: 6px 10px;
        }
    }
    .title-table {
        margin: 20px 0px 0px 2px;
        font-weight: 600;
        font-size: 20px;
    }
}

section.active {
    display: flex !important;
}

section#schedule {
    overflow: hidden;
    position: relative;
    padding: 0px !important;
    .schedule-grid {
        position: sticky;
        top: 0;
        left: 0;
        display: grid;
        grid-template-columns: 80px repeat(6, 1fr);
        grid-template-rows: 40px repeat(10, 100px); 
        gap: 0;
        background-color: transparent;
        border-radius: 12px;
        overflow: hidden;
        overflow-y: scroll;
        width: 100%;
        height: 100vh;
        object-fit: cover;
        transition: 1s ease-in-out;
        margin: 0 !important;
        .grid-header {
            position: sticky;
            top: 0;
            z-index: 100;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #000;
            color: #fff;
        }
        .time-label {
            grid-column: 1;
            display: flex;
            justify-content: center;
            align-items: flex-start;
            padding-top: 10px;
            font-size: 12px;
            font-weight: bold;
            color: #555;
            background: #a8a8a8;
            border-bottom: 1px solid #999;
            border-right: 2px solid #888;
        }
        .grid-cell-helper {
            border-bottom: 1px solid rgba(0,0,0,0.1);
            border-right: 1px solid rgba(0,0,0,0.05);
        }
        
        .course-item {
            background: linear-gradient(45deg, color-mix(in srgb, var(--course-color), #ffffff28 20%), color-mix(in srgb, var(--course-color), #0000008c 20%), color-mix(in srgb, var(--course-color), #ffffff28 20%));
            padding: 10px;
            z-index: 2;
            position: relative;
            overflow: hidden;
            &::after {
                content: '';
                position: absolute;
                bottom: -50px;
                left: -50px;
                width: 70px;
                height: 70px;
                background: #9B9B9B;
                transform: rotate(45deg);
                z-index: 20;
            }
            &::before {
                content: '';
                position: absolute;
                bottom: -50px;
                left: -50px;
                width: 70px;
                height: 70px;
                background: var(--course-color);
                box-shadow: 0px 0px 10px #0000008c;
                z-index: 19;
            }
            .course-info {
                span {
                    font-weight: 700;
                    opacity: .7;
                    color: #ffffff;
                }
                p {
                    font-weight: 600;
                    color: #ffffff;
                }
                small {
                    color: #ffffff;
                }
            }
            .btn-delete-course {
                position: absolute;
                top: 5px;
                right: 5px;
                background: rgba(255, 255, 255, 0.2);
                border: none;
                border-radius: 4px;
                color: #ffffff;
                cursor: pointer;
                padding: 2px;
                display: flex;
                align-items: center;
                justify-content: center;
                z-index: 10;
                &:hover {
                    fill: #dc3545; 
                }
            }

        }

    }

}

section#register-courses {
    .course-registration-container {
        form {
            .form-row {
                margin: 20px 20px 20px 0px;
                display: flex;
                align-items: center;
                gap: 20px;
                input, select, textarea {
                    border: none;
                    background: #8f8f8f;
                    padding: 8px 15px;
                    border-radius: 8px;
                    cursor: pointer;
                    box-shadow: -1px 1px 3px #ffffff44, inset 2px 2px 5px rgba(0, 0, 0, 0.24);
                    border: .5px solid #ffffff13;
                    font-weight: 700;
                    outline: none;
                    transition: all 0s, background .5s;
                    &:focus-within {
                        border-color: transparent;
                        animation: height .5s forwards;
                    }
                }
                
            }
            .form-footer {
                button {
                    margin-top: 20px;
                    background: #000;
                    color: #fff;
                    padding: 10px 20px;
                    border-radius: 10px;
                    border: 0;
                }
                .input-color-wrapper {
                    display: flex;
                    align-items: center;
                    gap: 10px;
                    label {
                        font-weight: 800;
                    }
                    
                    input {
                        border: none;
                        padding: 0;
                        border-radius: 8px;
                        cursor: pointer;
                        box-shadow: -1px 1px 3px #ffffff44, inset 2px 2px 5px rgba(0, 0, 0, 0.24);
                        border: .5px solid #ffffff13;
                        font-weight: 700;
                        outline: none;
                        appearance: none;
                        -webkit-appearance: none;
                        height: 40px;      /* Defina uma altura base */
                        width: 60px;       /* Defina uma largura base */
                        overflow: hidden;
                        background: #9B9B9B;
                    }
                }
            }
        }
    }
                
}

@keyframes height {
    0% {
        box-shadow: -1px 1px 3px #ffffff44, inset 2px 2px 5px rgba(0, 0, 0, 0.24);
    } 25% {
        box-shadow: -1px 1px 3px #ffffff27, inset 2px 2px 5px rgba(0, 0, 0, 0.13);
    } 50% {
        box-shadow: -1px 1px 3px #ffffff11, inset 2px 2px 5px rgba(0, 0, 0, 0.068);
    } 75% {
        box-shadow: -1px 1px 3px #ffffff0a, inset 2px 2px 5px rgba(0, 0, 0, 0.034);
    } 100% {
        box-shadow: -1px 1px 3px #ffffff00, inset 2px 2px 5px rgba(0, 0, 0, 0);
    }
}

.enrollment-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 10px;
    .enrollment-card {   
        background: #a8a8a8;
        border: .5px solid #ffffff07;
        border-radius: 14px;
        padding: 15px;
        transition: .3s;
        position: relative;
        .status-badge {
            font-size: 10px;
            padding: 3px 8px;
            border-radius: 20px;
            background: #ff0000; 
            color: #eee;
            font-weight: bold;
            margin-bottom: 5px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-wrap: nowrap;
            width: 70px;
        }
        .card-main {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .student-info {
            display: flex;
            flex-direction: column;
            gap: 5px;
            width:50%;
            h3 {
                font-size: 16px;
                color: #000000;
            }
            p {
                font-weight: 600;
                opacity: .6;
            }
        }
        .contact-info  {
            position: absolute;
            left: 40%;
            p {
                font-size: 13px;
                color: #555;
                display: flex;
                align-items: center;
                gap: 5px;
            }

        }
        .actions {
            display: flex;
            gap: 10px;
            .btn-detail {
                border: none;
                background: #8f8f8f;
                padding: 8px 15px;
                border-radius: 8px;
                cursor: pointer;
                box-shadow: -1px 1px 3px #ffffff44, inset 2px 2px 5px rgba(0, 0, 0, 0.24);
                border: .5px solid #ffffff13;
                font-weight: 700;
            }
            .btn-whatsapp {
                background: #000;
                color: white;
                padding: 8px;
                border-radius: 8px;
                display: flex;
                align-items: center;
                text-decoration: none;
            }
            .btn-archive,
            .btn-edit {
                border: none;
                background: none;
                color: #000;
                padding: 8px;
                border-radius: 8px;
                cursor: pointer;
                display: flex;
                align-items: center;
                justify-content: center;
                transition: 0s;
            }

            .btn-archive:hover {
                color: #bb0000; 
            }
        }
        .card-details {
            margin-top: 15px;
            animation: fadeIn 0.3s ease;
            .details-grid {
                display: grid;
                grid-template-columns: repeat(3, 1fr);
                gap: 20px;
                padding-top: 10px;
                font-size: 12px;
                .col {
                    h4 {
                        margin-bottom: 8px;
                        text-transform: uppercase;
                        font-size: 10px;
                        color: #444;
                    }
                }
            }
        }

    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

section#view_student_registration {
    .view-header {
        display: flex;
        align-items: center;
        text-wrap: nowrap;
        gap: 10px;
        padding-top: 0;
        .btn-cancel {
            background: none;
            border-radius: 0;
            border: none;
            color: #004eb4;
            width: 30px;
            height: 30px;
            margin-left: -20px;
        } 
        h2 {
            font-size: 20px;
            color: #004eb4;
        }
    }
    .meta-info {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        border: .5px solid #00000067;
        border-radius: 10px;
        padding: 5px 5px 5px 10px;
        margin: 30px 20px 20px 0px;
        .content-left {
            span {
                font-size: 14px;
                color: #0000009c;
                strong {
                    color: #000000a2;
                }
            }
        }
        .form-buttons {
            button {
                background: #000;
                color: #fff;
                border-radius: 5px;
                border: none;
                padding: 6px 10px;
            }
        }
    }
    .guide {
        position: relative;
        margin-top: 0px;
        .bottom {
            .marker {
                background: #fff;
                bottom: -2px;
                left: 0;
                width: 80px;
                transition: .5s ease-in-out;
            }
        }
        .top {
            display: flex;
            align-items: center;
            gap: 20px;
            padding: 10px;
            margin-left: -10px;
            .tab-btn {
                font-weight: 600;
                opacity: .4;
                &.active {
                    opacity: 1;
                    color: #000;
                }
            }
        }
        
    }
    #editStudentForm {
        .view-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
            margin-top: 20px;
            .view-card {
                h3 {
                    margin-bottom: 15px;
                    color: #000;
                    display: flex;
                    align-items: center;
                    gap: 10px;
                    font-weight: 400;
                }
                p {
                    margin-bottom: 10px;
                    color: #000000a2;
                    strong {
                        color: #000;
                    }
                }
                .line {
                    margin-top: 20px;
                    margin-bottom: 20px;
                    margin-left: 0;
                    width: 40%;
                }
                .info-group {
                    margin-bottom: 10px; 
                    label { 
                        display: block; 
                        font-size: 0.8rem; 
                        color: #00000086; 
                        margin-bottom: 4px; 
                    }
                    p { 
                        font-weight: 600;
                        font-size: 18px; 
                        color: #000; 
                    }
                    input {
                        border: none;
                        background: none;
                        font-size: 19px;
                    }
                }
            }


        }
        .status-card {
            position: absolute;
            top: 25px;
            right: 50px;
            .info-group {
                display: flex;
                align-items: center;
                gap: 20px;
                margin-bottom: 10px;
                label {
                    font-size: 16px;
                    font-weight: 700;
                }
                .dash-input {
                    background: none;
                    border: .5px solid #00000069;
                    border-radius: 12px;
                    padding: 8px 10px 8px 10px;
                    font-weight: 700;
                }
            }
            
        }
    }
}



