/* Fontes */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&display=swap');

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    list-style:none;
    outline:0;
}
a{
    text-decoration: none;
    transition:0.5s;
}
/* Variaveis */
:root {
    --color-001: #000;
    --color-002: #fff;
    --color-003: #004e8e;
    --color-004: #023b6a;
    --color-005: #111;
    --att: #ff4545;
    --font-color-1:#282727;
    --font-001: 'Montserrat', Arial, sans-serif;
}
body {
    background: var(--color-002);
    color: var(--font-color-1);
    font-family: var(--font-001);
    margin: 0;
    min-width: 250px
}
.container_module{
    max-width:1248px;
    padding: 0 20px;
    box-sizing:border-box;
    margin:0 auto;
}

.contato_form{
    
    background: var(--color-002);
    width: 100%;
    padding: 20px 0;
    box-sizing:border-box;
}

#forms_contato {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin: 0 auto;
}
#forms_contato input, #forms_contato textarea{
    width:90%;
    padding: 15px;
    box-sizing:border-box;
    border: 1px dotted  black;
}
#forms_contato input[type=submit]{
    cursor: pointer;
}

.contato_form .container_module{
    display:flex;
    flex-direction:column;
    gap:20px;
}
.desafio{
display: flex;
flex-direction: row;
width: 90%;
gap: 12px;
}

.desafio_login {
    display: flex;
    flex-direction: row;
    width: 90%;
    margin-bottom: 10px;
}

.desafio label{
     background: beige;
    padding: 10px;
    box-sizing: border-box;
}

.desafio_login label{
    background: beige;
    box-sizing: border-box;
}
#overlay{display:none}

.loader {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background-size: cover;
    animation: spin 1s infinite linear;
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}
.dash_t{text-align:center}

.header_ac{
    display:flex;
    flex-direction:column;
    gap:40px;
}

.login_links{
    box-sizing: border-box;
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.login_links a{
    background: #aa0000;
    color: white;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 10px;
    transition:0.5px;
    
}
.login_links a:hover{
        background: #f90202;
}
.box_user{
    min-height: 500px;
}

.flex  {display:flex}
.f-col {flex-direction:column;}
.f-row {flex-direction: row;}
.gap-5 {gap: 5px;}
.gap-10{gap:10px;}
.align-items{align-items:center;}
.j-center{justify-content:center;}
.j-between{justify-content:space-between;}
.main_box{margin:0 auto;}
.text-center{text-align:center;}

.sidebar_div{
    width: 100%;
    max-width: 30%;
    font-size: 1.5rem;
    font-weight: 400;
    height: 100vh;
    gap:2rem;
    padding:15px;
    box-sizing: border-box;

}
.sidebar_div a{
        padding: 0.4rem;
        color:black;
        font-weight: 600;
        border-radius: 20px;
    
}
.menuFont:hover{
    
    color:#fff;
    background: #0f7ae8;
    
}
.carousel_div{
    max-width:65%;
    width:100%;
}
.carousel_div .caroulse-cell{width:100%; height:auto;}
.carousel_div img{
    width:100%;
    object-fit: cover;
}

.mb-8{
    border-bottom: 4px solid #2f7fc712;
    padding-bottom: 20px;
    margin-bottom: calc(0.25rem * 8);
}
.mb-8 img{
    width: 100%;
    height: auto;
    max-width: 220px;
        
}

.menu_side {
    gap: 2rem;
}

        :root {
            --primary: #6366f1;
            --primary-dark: #4f46e5;
            --secondary: #f43f5e;
            --dark: #1e293b;
            --light: #f8fafc;
            --gray: #64748b;
            --gray-light: #e2e8f0;
            --success: #10b981;
            --warning: #f59e0b;
            --danger: #ef4444;
        }
body {
	padding: 2rem;
	font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
}

h1 {
	font-size: 16px;
	margin-top: 0;
}

p {
	color: rgb(107, 114, 128);
	font-size: 15px;
	margin-bottom: 10px;
	margin-top: 5px;
}

.card {
	max-width: 620px;
	margin: 0 auto;
	padding: 16px;
	border: 1px solid lightgray;
	border-radius: 16px;
}

.card p:last-child {
	margin-bottom: 0;
}
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            background-color: #f1f5f9;
            color: var(--dark);
            display: flex;
            min-height: 100vh;
        }

        /* Sidebar Styles */
        .sidebar {
            width: 280px;
            background: white;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
            display: flex;
            flex-direction: column;
            transition: all 0.3s ease;
            z-index: 100;
        }

        .sidebar-header {
            padding: 1.5rem;
            border-bottom: 1px solid var(--gray-light);
        }

        .sidebar-header h1 {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .sidebar-menu {
            flex-grow: 1;
            padding: 1rem 0;
            overflow-y: auto;
        }

        .menu-group {
            margin-bottom: 1.5rem;
        }

        .menu-group h3 {
            padding: 0.5rem 1.5rem;
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--gray);
        }

        .menu-item {
            display: flex;
            align-items: center;
            padding: 0.75rem 1.5rem;
            margin: 0.25rem 0;
            border-radius: 0.5rem;
            cursor: pointer;
            transition: all 0.2s ease;
            color: var(--dark);
            text-decoration: none;
            gap: 0.75rem;
        }

        .menu-item:hover {
            background-color: var(--primary);
            color: white;
        }

        .menu-item.active {
            background-color: var(--primary-light);
            color: var(--primary);
            font-weight: 600;
        }

        .menu-item.active:hover {
            background-color: var(--primary);
            color: white;
        }

        .menu-item i {
            width: 24px;
            text-align: center;
        }

        .sidebar-footer {
            padding: 1rem 1.5rem;
            border-top: 1px solid var(--gray-light);
        }

        .user-profile {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .user-avatar {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background-color: var(--primary);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 600;
        }

        .user-name {
            font-weight: 600;
            flex-grow: 1;
        }

        .user-actions i {
            cursor: pointer;
            color: var(--gray);
        }

        /* Main Content Styles */
        .main-content {
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            overflow: hidden;
        }

        .topbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 1.5rem;
            background: white;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
            z-index: 50;
        }

        .search-bar {
            position: relative;
            flex-grow: 1;
            max-width: 500px;
        }

        .search-bar input {
            width: 100%;
            padding: 0.75rem 1rem 0.75rem 2.5rem;
            border-radius: 0.5rem;
            border: 1px solid var(--gray-light);
            outline: none;
            transition: all 0.2s ease;
        }

        .search-bar input:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
        }

        .search-bar i {
            position: absolute;
            left: 1rem;
            top: 50%;
            transform: translateY(-50%);
            color: var(--gray);
        }

        .topbar-actions {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .notifications {
            position: relative;
            cursor: pointer;
        }

        .notification-badge {
            position: absolute;
            top: -5px;
            right: -5px;
            background-color: var(--danger);
            color: white;
            font-size: 0.6rem;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Task Content Styles */
        .task-content {
            flex-grow: 1;
            padding: 1.5rem;
            overflow-y: auto;
        }

        .page-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
        }

        .page-title {
            font-size: 1.5rem;
            font-weight: 700;
        }

        .page-actions {
            display: flex;
            gap: 0.75rem;
        }

        .btn {
            padding: 0.5rem 1rem;
            border-radius: 0.5rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            border: none;
        }

        .btn-primary {
            background-color: var(--primary);
            color: white;
        }

        .btn-primary:hover {
            background-color: var(--primary-dark);
        }

        .btn-outline {
            background-color: transparent;
            border: 1px solid var(--gray-light);
            color: var(--dark);
        }

        .btn-outline:hover {
            background-color: var(--gray-light);
        }

        .stats-cards {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
            gap: 1rem;
            margin-bottom: 1.5rem;
        }

        .stat-card {
            background: white;
            border-radius: 0.75rem;
            padding: 1.25rem;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
        }

        .stat-card-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.75rem;
        }

        .stat-title {
            font-size: 0.875rem;
            color: var(--gray);
        }

        .stat-value {
            font-size: 1.5rem;
            font-weight: 700;
        }

        .stat-change {
            display: flex;
            align-items: center;
            font-size: 0.75rem;
            gap: 0.25rem;
        }

        .stat-change.up {
            color: var(--success);
        }

        .stat-change.down {
            color: var(--danger);
        }

        .progress-bar {
            height: 6px;
            background-color: var(--gray-light);
            border-radius: 3px;
            margin-top: 0.75rem;
            overflow: hidden;
        }

        .progress-fill {
            height: 100%;
            background-color: var(--primary);
            border-radius: 3px;
            transition: width 0.3s ease;
        }

        /* Task List Styles */
        .task-list-container {
            background: white;
            border-radius: 0.75rem;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
            overflow: hidden;
        }

        .task-list-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 1.5rem;
            border-bottom: 1px solid var(--gray-light);
        }

        .task-list-title {
            font-weight: 600;
        }

        .task-list-actions {
            display: flex;
            gap: 0.5rem;
        }

        .task-list {
            list-style: none;
        }

        .task-item {
            display: flex;
            align-items: center;
            padding: 1rem 1.5rem;
            border-bottom: 1px solid var(--gray-light);
            transition: all 0.2s ease;
            background: white;
        }

        .task-item:last-child {
            border-bottom: none;
        }

        .task-item:hover {
            background-color: #f8fafc;
        }

        .task-checkbox {
            margin-right: 1rem;
            width: 20px;
            height: 20px;
            accent-color: var(--primary);
            cursor: pointer;
        }

        .task-content {
            flex-grow: 1;
        }

        .task-title {
            font-weight: 500;
            margin-bottom: 0.25rem;
        }

        .task-details {
            display: flex;
            gap: 1rem;
            font-size: 0.875rem;
            color: var(--gray);
        }

        .task-priority {
            display: flex;
            align-items: center;
            gap: 0.25rem;
        }

        .priority-high {
            color: var(--danger);
        }

        .priority-medium {
            color: var(--warning);
        }

        .priority-low {
            color: var(--success);
        }

        .task-due-date {
            display: flex;
            align-items: center;
            gap: 0.25rem;
        }

        .task-overdue {
            color: var(--danger);
        }

        .task-category {
            display: inline-block;
            padding: 0.25rem 0.5rem;
            font-size: 0.75rem;
            border-radius: 1rem;
            background-color: var(--gray-light);
        }

        .task-actions {
            display: flex;
            gap: 0.5rem;
            margin-left: 1rem;
        }

        .task-action-btn {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: transparent;
            border: none;
            color: var(--gray);
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .task-action-btn:hover {
            background: var(--gray-light);
            color: var(--dark);
        }

        .task-action-btn.delete:hover {
            color: var(--danger);
        }

        /* Modal Styles */
        .modal-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: 1000;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
        }

        .modal-overlay.active {
            opacity: 1;
            pointer-events: all;
        }

        .modal {
            background-color: white;
            border-radius: 0.75rem;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
            width: 100%;
            max-width: 500px;
            max-height: 90vh;
            overflow-y: auto;
            transform: translateY(20px);
            transition: transform 0.3s ease;
            position: relative;
        }

        .modal-overlay.active .modal {
            transform: translateY(0);
        }

        .modal-header {
            padding: 1.5rem 1.5rem 1rem;
            border-bottom: 1px solid var(--gray-light);
        }

        .modal-title {
            font-size: 1.25rem;
            font-weight: 600;
        }

        .modal-close {
            position: absolute;
            top: 1rem;
            right: 1.5rem;
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: var(--gray);
        }

        .modal-body {
            padding: 1.5rem;
        }

        .form-group {
            margin-bottom: 1.25rem;
        }

        .form-label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 500;
        }

        .form-control {
            width: 100%;
            padding: 0.75rem 1rem;
            border-radius: 0.5rem;
            border: 1px solid var(--gray-light);
            outline: none;
            transition: all 0.2s ease;
        }

        .form-control:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
        }

        .form-select {
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 0.75rem center;
            background-size: 16px 12px;
        }

        .form-textarea {
            min-height: 100px;
            resize: vertical;
        }

        .form-row {
            display: flex;
            gap: 1rem;
        }

        .form-row .form-group {
            flex: 1;
        }

        .modal-footer {
            padding: 1rem 1.5rem;
            border-top: 1px solid var(--gray-light);
            display: flex;
            justify-content: flex-end;
            gap: 0.75rem;
        }

        /* Responsive Styles */
        @media (max-width: 768px) {
            body {
                flex-direction: column;
            }

            .sidebar {
                width: 100%;
                height: auto;
                box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
            }

            .sidebar-header {
                padding: 1rem;
            }

            .sidebar-menu {
                display: none;
                padding: 0;
            }

            .sidebar-menu.active {
                display: block;
            }

            .menu-group {
                margin-bottom: 0;
            }

            .menu-item {
                border-radius: 0;
                padding: 0.75rem 1rem;
            }

            .sidebar-footer {
                display: none;
            }

            .topbar {
                padding: 0.75rem 1rem;
            }

            .search-bar {
                max-width: none;
            }

            .task-content {
                padding: 1rem;
            }

            .stats-cards {
                grid-template-columns: 1fr;
            }
        }

        /* Drag and drop styles */
        .task-item.dragging {
            opacity: 0.5;
            background-color: var(--primary-light);
        }

        .task-list.drop-area {
            background-color: rgba(99, 102, 241, 0.05);
            outline: 2px dashed var(--primary);
        }

        /* Animation classes */
        .fade-in {
            animation: fadeIn 0.3s ease forwards;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .slide-up {
            animation: slideUp 0.3s ease forwards;
        }

        @keyframes slideUp {
            from { transform: translateY(20px); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }