body {
    background-color: #101821;
    min-height: 100dvh;
    margin: 0;
    display: flex;
    flex-direction: column;
    color: aliceblue;
    font-family: "Prompt", sans-serif;
}

.admin-layout {
    display: flex;
    flex-direction: row;
    width: 100%;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 10px;
    overflow-y: auto;
    height: 100vh;
}

.sidebar {
    width: 220px;
    background-color: #0b1118;
    display: flex;
    flex-direction: column;
    padding: 20px 10px;
    border-right: 1px solid #ffffff1a;
    height: 100vh;
    position: sticky;
    top: 0;
}

.sidebar-header {
    padding: 0 15px 30px 15px;
    border-bottom: 1px solid #ffffff0d;
    margin-bottom: 20px;
}

.sidebar-logo {
    width: 150px;
}

.sidebar-menu {
    flex: 1;
    display: flex;
    flex-direction: column;
    row-gap: 8px;
}

.admin-section-title {
    font-size: 11px;
    text-transform: uppercase;
    color: #ffffff4d;
    margin: 20px 15px 10px 15px;
    font-weight: 600;
    letter-spacing: 1px;
}

.admin-button {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    width: auto;
    font-size: 14px;
    border-radius: 8px;
    padding: 2px 15px;
    border: none;
    transition: all 0.2s ease;
    color: #ffffffb3;
    text-align: center;
    line-height: 0;
    user-select: none;
    column-gap: 12px;
}

.admin-button:hover {
    background-color: #ffffff0d;
    color: #fff;
}

.admin-button.active {
    background-color: #153b64;
    color: #fff;
    font-weight: 500;
    box-shadow: 1px 1px 5px #1a2e50, -1px -1px 5px #77b6ff;
}

.admin-button img {
    width: 20px;
    opacity: 0.7;
}

.admin-button.active img {
    opacity: 1;
}

.sidebar-footer {
    margin-top: auto;
    padding: 20px 15px 0 15px;
    border-top: 1px solid #ffffff0d;
}

.btn-back {
    display: flex;
    align-items: center;
    column-gap: 8px;
    font-size: 13px;
    color: #ffffff66;
    transition: color 0.2s;
}

.btn-back:hover {
    color: #fff;
}

a {
    color: inherit;
    text-decoration: none;
}

small {
    opacity: 0.5;
}

.header-container {
    margin: 2vh;
}

.header-container>img {
    width: 200px;
}

.section {
    background-color: #0000004a;
    padding: 10px 20px;
    border-radius: 10px;
    margin: 0 0 10px 0;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    column-gap: 15px;
}

.section>h2 {
    margin-bottom: 0;
}

.section>img {
    width: 50px;
    background-color: rgba(255, 255, 255, 0.202);
    border-radius: 50px;
    padding: 5px;
}

.login-form-container {
    background-color: #0000003b;
    padding: 20px 30px 5px 30px;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    width: 30ch;
    margin: auto;
    translate: 0 35dvh;
}

.login-form {
    display: flex;
    flex-direction: column;
}

.form-label {
    margin-bottom: 3px;
}

.form-control {
    background-color: transparent;
    border: 1px solid aliceblue;
    padding: 5px;
    border-radius: 5px;
    color: aliceblue;
    text-align: center;
}

.form-control:focus {
    outline: none;
    border-color: steelblue;
    background-color: #3533415e;
    color: aliceblue;
}

.login-button {
    width: max-content;
    margin: 10px auto 0 auto;
    font-size: 20px;
    border-radius: 11px;
    padding: 3px 20px;
    background-color: steelblue;
    border: none;
    transition: background-color 0.3s ease;
    color: aliceblue;
}

.login-button:hover {
    background-color: #0056b3;
}

.canvas-container {
    position: relative;
    flex: 1;
    min-height: 0;
    margin: 13px;
    border-radius: 20px;
    overflow: clip;
}

span {
    user-select: none;
}

.table-dark {
    border-radius: 10px;
    overflow: clip;
}

.en-desarrollo {
    pointer-events: none;
    opacity: 0.2;
}

.dashboard-section {
    display: flex;
    flex-direction: row;
    column-gap: 15px;
}

.dashboard-card {
    background-color: #0000004a;
    padding: 10px 20px;
    border-radius: 10px;
    margin: 0 0 10px 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    column-gap: 15px;
    position: relative;
    overflow: hidden;
}

.dashboard-card>img {
    position: absolute;
    left: -8px;
    bottom: -12px;
    width: 88px;
    opacity: 0.07;
}

.dashboard-card>span {
    font-size: 15px;
    color: #ffffff66;
    margin-bottom: 5px;
}

.dashboard-card>h3 {
    font-size: 26px;
    color: #9ab1d6;
    margin-bottom: 0;
    font-family: 'chakra petch', monospace;
    font-weight: 600;
}

.dashboard-module {
    background-color: #0000004a;
    padding: 15px 20px;
    border-radius: 10px;
    margin: 0 0 10px 0;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.dashboard-module > span {
    font-size: 15px;
    color: #00ffaa;
    margin-bottom: 15px;
    display: block;
}

.pipeline-container {
    display: flex;
    flex-direction: column;
}

.pipeline-item {
    width: 100%;
}

.pipeline-label {
    font-size: 13px;
    font-weight: 500;
    color: #ffffffb3;
}

.pipeline-total {
    font-size: 13px;
    font-weight: 600;
    color: #00ffaa;
    font-family: 'chakra petch', monospace;
}

.progress {
    border-radius: 10px;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.2);
}

.progress-bar {
    border-radius: 10px;
    transition: width 0.6s ease;
}