:root{

    --bg-2:#1c2024;
    --bg-3:#1f2327;
    --bg-4:#22272d;
    --border:#ffffff0f;
    --bg-5:#262b30;
    --text:#e0e0e0;
    --bg-6:#292e33;
    --text-2:#bfc5ca;
    --muted: #9da4ab;
    --green: #57d48d;
    --surface2: #32383e;
    --speed: .18s;

    --text-4:#fff;
    --button-bar:#3d4650;
    --button-bar-hover:#495461;
    --bg-11:#4f5761;
    --message-bot:#2a2f35;
    --message:#434a50;
    --border-message:#ffffff0f;
    --bg-input:#31373d;

    --border-2:#4c565c;
    --bg-7:#5a606b;
    --bg-8:#1d2128;
    --text-5:#cfe8ff;
    --bg-85:#2b3138;
    --bg-9:#353c44;
    --bg-10:#3d4650;
    --text-6:#a9d3ff;
    --text-7:#a5b4ff;
    --text-8:#e7e2e2;
    --text-9:#9aa6c3;
    --text-10:#e6e6e6;
    --text-11:#636a72;
    --bg-12:#5c6077;
    --text-12:#aaa;

}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

* {
    scrollbar-width: none;
}

* {
    -ms-overflow-style: none;
}

html{
    scroll-behavior:smooth;
}

body{
    background:var(--bg-2);
    font-family:"Inter",sans-serif;
    color:var(--text);
    display:flex;
    justify-content:center;
    align-items:center;
    height:100dvh;
    overflow:hidden;
}

.app{
    width:100%;
    max-width:1030px;
    height:100%;

    background:var(--bg-3);

    display:flex;
    flex-direction:column;

    overflow:hidden;

    position:relative;
    box-shadow: 6px 0 12px rgba(0, 0, 0, 0.3);
}

.content-section {
    display: none;
    opacity: 0;
}

.content-section.active {
    display: block;
    opacity: 1;
}

.fade-in {
    animation: fadeIn .45s ease-in-out;
}
@keyframes fadeIn {
    from {opacity:0; transform: translateY(6px);}
    to {opacity:1; transform: translateY(0);}
}

button{
    font-family:inherit;
    border:none;
    outline:none;
    background:none;
    cursor:pointer;
}

img{
    display:block;
    max-width:100%;
    user-select:none;
    pointer-events:none;
}

a{
    color:inherit;
    text-decoration:none;
}

.content{
    flex: 1;
    overflow-y: auto;
    margin: 0px 20px 18px 20px;
    border-radius: 30px;
}

.content-wrapper{
    flex:1;
    overflow-y:auto;
    padding:0;
    border-radius:30px;
}


.content::-webkit-scrollbar{
    display:none;
}

.topBar{
    position:sticky;
    top:0;
    z-index:1000;
    display:flex;
    align-items:center;
    gap:18px;
    height:76px;
    padding:0 22px;
    background:rgba(31,35,39,.92);
    backdrop-filter:blur(18px);
    border-bottom:1px solid var(--border);
    margin-bottom:20px;
}

.iconButton{
    width:48px;
    height:48px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:16px;
    background:var(--bg-5);
    color:var(--text);
    transition:.2s;
}

.iconButton:hover{
    background:var(--button-bar);
}

.iconButton .material-symbols-rounded{
    font-size:26px;
}

.topTitle{
    flex:1;
}

.topTitle h1{
    font-size:20px;
    font-weight:700;
    color:var(--text-8);
}

.topTitle span{
    display:flex;
    align-items:center;
    gap:8px;
    margin-top:4px;
    font-size:13px;
    color:var(--text-12);
}

.onlineDot{
    background: var(--green);
    width: 8px;
    height: 8px;
    box-shadow: 0 0 8px var(--green);
    border-radius: 50%;
    animation:glow 2s infinite;
}

.section{
    margin-top:30px;
}

.sectionHeader{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:18px;
}

.sectionHeader h2{
    font-size:22px;
    font-weight:700;
}

.welcomeCard{
    overflow: hidden;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:40px;
    padding:38px;
    margin-bottom:28px;
    border-radius:30px;
    background:linear-gradient(180deg,var(--bg-5),var(--bg-6));
    border:1px solid var(--border);
}

.welcomeText{
    flex:1;
}

.smallTitle{
    display:inline-block;
    margin-bottom:12px;
    color:var(--text-6);
    font-size:13px;
    font-weight:700;
    letter-spacing:.8px;
    text-transform:uppercase;
}

.welcomeText h2{
    font-size:36px;
    font-weight:800;
    line-height:1.1;
    margin-bottom:12px;
    color: var(--text-2);
}

.welcomeText p{
    max-width:620px;
    color:var(--text-12);
    line-height:1.8;
}

.welcomeButtons{
    display:flex;
    gap:14px;
    margin-top:28px;
}

.filledButton, .outlinedButton {
    height: 54px;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 18px;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;

    transition: transform 0.1s ease, background-color 0.25s ease-in-out;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

.filledButton {
    background-color: var(--button-bar);
    color: var(--text-8);
}

.filledButton:hover {
    background-color: var(--button-bar-hover);
}

.outlinedButton {
    background-color: transparent;
    border: 1px solid var(--border-2);
    color: var(--text);
}

.outlinedButton:hover {
    background-color: #778fa310;
}

.outlinedButton:active, .filledButton:active {
    transform: scale(0.96);
}

.welcomeImage{
    width:430px;
}

@media (max-width:1000px){

    .welcomeCard{
        display:flex;
        flex-direction:column;
        width:100%;
    }

    .welcomeImage{
        width:80%;
        display:flex;
        justify-content:flex-end;
    }

    .welcomeImage img{
        width:30px; /* o el tamaño que quieras */
        max-width:100%;
    }

}

.welcomeImage img{
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 26px;
    border: 1px solid var(--border);
    object-fit: contain;
}

.statusRow{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
    margin-bottom:32px;
}

.statusCard {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px;
    background: var(--bg-5);
    border: 1px solid var(--border);
    border-radius: 24px;
    transition: background-color 0.3s ease-in-out;
}

.statusCard:hover {
    background: var(--bg-6);
}


.statusCard .material-symbols-rounded{
    width:52px;
    height:52px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:18px;
    background:var(--bg-input);
    color:var(--text-6);
    font-size:28px;
}

.statusCard h3{
    font-size:16px;
    font-weight:700;
    margin-bottom:4px;
}

.statusCard p{
    color:var(--text-12);
    font-size:14px;
}

.actionGrid{
    display:flex;
    flex-direction:column;
    gap:16px;
}

.actionCard{
    display:flex;
    align-items:center;
    gap:18px;
    width:100%;
    padding:18px 22px;
    border-radius:24px;
    background:var(--bg-5);
    border:1px solid var(--border);
    transition:.2s;
}

.actionCard:hover{
    background:var(--bg-6);
    border-color:var(--border-2);
    transform:translateY(-2px);
}

.actionCard .material-symbols-rounded{
    width:58px;
    height:58px;
    flex-shrink:0;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:18px;
    background:var(--bg-input);
    color:var(--text-6);
    font-size:30px;
}

.actionCard h3{
    font-size:18px;
    font-weight:700;
    margin-bottom:6px;
    color:var(--text-8);
}

.actionCard p{
    font-size:14px;
    line-height:1.5;
    color:var(--text-12);
}

.actionCard::after{
    content:"arrow_forward_ios";
    font-family:"Material Symbols Rounded";
    font-size:20px;
    color:var(--text-11);
    margin-left:auto;
    transition:.2s;
}

.actionCard:hover::after{
    color:var(--text-6);
    transform:translateX(4px);
}

.activityList{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.activityCard{
    display:flex;
    align-items:center;
    gap:18px;
    padding:18px 22px;
    background:var(--bg-5);
    border:1px solid var(--border);
    border-radius:24px;
    transition:.2s;
}

.activityCard:hover{
    background:var(--bg-6);
}

.activityIcon{
    width:54px;
    height:54px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:18px;
    background:var(--bg-input);
    color:var(--text-6);
    flex-shrink:0;
}

.activityIcon .material-symbols-rounded{
    font-size:28px;
}

.activityInfo{
    flex:1;
}

.activityInfo h3{
    font-size:17px;
    margin-bottom:4px;
}

.activityInfo p{
    font-size:14px;
    color:var(--text-12);
}

.activityTime{
    color:var(--text-11);
    font-size:13px;
}

.overviewGrid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(170px,1fr));
    gap:18px;
}

.overviewCard{
    padding:24px;
    border-radius:24px;
    background:var(--bg-5);
    border:1px solid var(--border);
    transition:.2s;
}

.overviewCard:hover{
    background:var(--bg-6);
    transform:translateY(-2px);
}

.overviewCard .material-symbols-rounded{
    font-size:34px;
    color:var(--text-6);
    margin-bottom:22px;
}

.overviewCard h2{
    font-size:34px;
    margin-bottom:8px;
}

.overviewCard p{
    color:var(--text-12);
}

.largeCard{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    padding:26px;
    border-radius:30px;
    background:linear-gradient(180deg,var(--bg-5),var(--bg-6));
    border:1px solid var(--border);
}

.largeCard h2{
    margin:12px 0;
    font-size:34px;
}

.largeCard p{
    max-width:700px;
    color:var(--text-12);
    line-height:1.8;
}

.bottomBar{
    position:relative;
    left:50%;
    transform:translateX(-50%);
    width: 90%;
    height:78px;
    display:none;
    align-items:center;
    justify-content:space-between;
    padding:8px;
    background:rgba(38,43,48,.96);
    backdrop-filter:blur(20px);
    border:1px solid var(--border);
    border-radius:28px;
    box-shadow:0 15px 40px rgba(0,0,0,.35);
    z-index:999;
    margin-top: 18px;
    margin-bottom:18px;
    gap: 8px;
}

.navItem{
    flex:1;
    height:100%;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:4px;
    color:var(--text-12);
    border-radius:22px;
    transition:.25s;
}

.navItem .material-symbols-rounded{
    font-size:25px;
    transition:.25s;
}

.navItem span:last-child{
    font-size:12px;
    font-weight:600;
}

.navItem:hover{
    background:var(--bg-input);
    color:var(--text);
}

.navItem.active{
    background:var(--button-bar);
    color:var(--text-5);
}

.navItem.active .material-symbols-rounded{
    color:var(--text-5);
}

@media (max-width:880px){

    .content  {
    margin-bottom: 0;
    }

    .welcomeButtons {
    margin-top: 14px;
    }

    .filledButton, .outlinedButton {
    font-size: 14px;
    padding: 0px 14px;
    gap: 4px;
    }

    .welcomeText h2 {
        font-size: 24px !important;
    }

    .welcomeText p {
        line-height: 1.4 !important;
    }

    .sidebar {
    display: none !important;
    }

    .bottomBar{
        display: flex;
    }

    .welcomeCard{
        flex-direction:column;
        align-items:flex-start;
        padding:28px;
        gap: 20px;
    }

    .welcomeImage{
        width:100%;
    }

    .welcomeImage img{
        max-width:320px;
        margin:auto;
    }

    .welcomeText h2{
        font-size:36px;
    }

    .statusRow{
        grid-template-columns:1fr;
    }

    .overviewGrid{
        grid-template-columns:repeat(2,1fr);
    }

    .largeCard{
        flex-direction:column;
        align-items:flex-start;
    }

}

.otherbtn {
    padding: 0px 25px !important;
    min-width: fit-content;
}
