/* ============== ESTILOS ENCAPSULADOS PARA MI PC ============== */
/* Usamos #mipc-window para asegurar que estos estilos solo se apliquen
   a nuestra ventana y no sean sobreescritos por estilos globales. */

#mipc-window .window-body {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0;
    overflow: hidden;
}

#mipc-window .mipc-menu-bar {
    display: flex;
    padding: 2px;
    padding-left: 167px;
    background: #ECE9D8;
    border-bottom: 1px solid #ACA899;
    font-family: 'Tahoma', sans-serif;
    font-size: 11px;
}
#mipc-window .mipc-menu-bar span {
    margin-right: 15px;
}

#mipc-window .mipc-function-bar {
    display: flex;
    align-items: center;
    padding: 2px;
    padding-left: 167px;
    background: #ECE9D8;
    border-bottom: 1px solid #ACA899;
}
#mipc-window .mipc-function-bar button {
    display: flex;
    align-items: center;
    font-size: 11px;
    margin-right: 3px;
    padding: 3px 5px;
    background: #ECE9D8;
    border: 1px solid #ACA899;
    border-radius: 2px;
    cursor: pointer;
}
#mipc-window .mipc-function-bar button:hover {
    background: #F0F0F0;
    border: 1px solid #0054E3;
}
#mipc-window .mipc-function-bar button:disabled {
    color: #ACA899;
    cursor: default;
    background: #ECE9D8;
    border: 1px solid #ACA899;
}
#mipc-window .mipc-function-bar button:disabled:hover {
    background: #ECE9D8;
    border: 1px solid #ACA899;
}
#mipc-window .mipc-function-bar img {
    width: 16px;
    height: 16px;
    margin-right: 4px;
}
#mipc-window .mipc-function-bar .separator {
    border-left: 1px solid #ACA899;
    height: 18px;
    margin: 0 4px;
    align-self: center;
}

#mipc-window .mipc-address-bar {
    display: flex;
    align-items: center;
    padding: 2px;
    padding-left: 167px;
    background: #ECE9D8;
    border-bottom: 1px solid #ACA899;
    font-size: 11px;
}
#mipc-window .mipc-address-bar .address-input {
    display: flex;
    align-items: center;
    border: 1px inset #7F9DB9;
    background: white;
    flex-grow: 1;
    padding: 2px 4px;
    margin-left: 8px;
    margin-right: 8px;
    font-size: 11px;
}
#mipc-window .mipc-address-bar .address-input img {
    width: 16px;
    height: 16px;
    margin-right: 5px;
}

#mipc-window .mipc-main-content {
    display: flex;
    height: calc(100% - 85px); /* Altura total menos las barras superiores */
    position: relative;
}

#mipc-window .mipc-left-panel {
    width: 165px;
    background: linear-gradient(to bottom, #7693E1 0%, #6183DC 25%, #5B7ED8 50%, #4E71D0 75%, #3D5EBA 100%);
    padding: 0;
    color: white;
    font-size: 11px;
    font-family: 'Tahoma', sans-serif;
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 0;
    top: -85px;
    height: calc(100% + 85px);
    z-index: 1;
    border-right: 1px solid #316AC5;
    box-shadow: inset -1px 0 0 rgba(255,255,255,0.2);
}
#mipc-window .mipc-left-panel .panel-section {
    background: transparent;
    margin: 0;
    padding: 12px 8px;
    border-bottom: 1px solid #316AC5;
}
#mipc-window .mipc-left-panel .panel-header {
    font-weight: bold;
    margin-bottom: 12px;
    color: white;
    text-shadow: 1px 1px 0px rgba(0,0,0,0.5);
    font-size: 11px;
}
#mipc-window .mipc-left-panel ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
#mipc-window .mipc-left-panel li {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
    padding: 3px 4px;
    color: white;
    font-weight: normal;
    cursor: pointer;
    border-radius: 2px;
}
#mipc-window .mipc-left-panel li:hover {
    background: rgba(255,255,255,0.15);
    text-decoration: underline;
}
#mipc-window .mipc-left-panel img {
    width: 16px;
    height: 16px;
    margin-right: 5px;
}

#mipc-window .mipc-right-panel {
    flex-grow: 1;
    background: white;
    padding: 15px;
    overflow-y: auto;
    font-family: 'Tahoma', sans-serif;
    border-left: 1px solid #919B9C;
    margin-left: 165px;
}
#mipc-window .mipc-right-panel .panel-section {
    margin-bottom: 20px;
}
#mipc-window .mipc-right-panel .panel-header {
    font-weight: bold;
    color: #0054E3;
    border-bottom: 1px solid #E1E1E1;
    padding-bottom: 5px;
    margin-bottom: 15px;
    font-size: 11px;
    text-decoration: underline;
    cursor: pointer;
}
#mipc-window .mipc-right-panel .panel-content-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-left: 10px;
}
#mipc-window .mipc-right-panel .icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100px;
    text-align: center;
    margin: 0;
    font-size: 11px;
    cursor: pointer;
    padding: 10px;
    border-radius: 2px;
}
#mipc-window .mipc-right-panel .icon:hover {
    background-color: #E8F0FF;
    border: 1px solid #D0E0F0;
    padding: 7px;
}
#mipc-window .mipc-right-panel .icon img {
    width: 48px;
    height: 48px;
    margin-bottom: 8px;
}

/* Nueva sección para About Me */
#mipc-window .mipc-right-panel .about-section {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 10px;
    margin-left: 10px;
}

#mipc-window .mipc-right-panel .about-section .about-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 80px;
    margin: 0;
    padding: 10px;
    border-radius: 2px;
    cursor: pointer;
}

#mipc-window .mipc-right-panel .about-section .about-icon img {
    width: 48px;
    height: 48px;
    margin-bottom: 8px;
}

#mipc-window .mipc-right-panel .about-section .about-icon:hover {
    background-color: #E8F0FF;
    border: 1px solid #D0E0F0;
    padding: 9px;
}

/* Mejorar la tipografía */
#mipc-window .mipc-right-panel .icon span {
    font-size: 11px;
    color: #000;
    line-height: 1.2;
}

#mipc-window .mipc-right-panel .about-section .about-icon span {
    font-size: 11px;
    color: #000;
    line-height: 1.2;
}

/* ============== SCROLLBAR ESPECÍFICO PARA MI PC ============== */
#mipc-window ::-webkit-scrollbar {
    width: 16px;
    height: 16px;
}

#mipc-window ::-webkit-scrollbar-track {
    background: #ECE9D8;
}

#mipc-window ::-webkit-scrollbar-thumb {
    background: #B0B0B0 !important;
    border: 1px solid #FFFFFF !important;
    box-shadow: none !important;
}

#mipc-window ::-webkit-scrollbar-thumb:hover {
    background: #B0B0B0 !important;
    box-shadow: none !important;
}

#mipc-window ::-webkit-scrollbar-thumb:active {
    background: #909090 !important;
    box-shadow: none !important;
}

#mipc-window ::-webkit-scrollbar-button {
    background: #B0B0B0 !important;
    border: 1px solid #FFFFFF !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    box-shadow: none !important;
}

#mipc-window ::-webkit-scrollbar-button:hover {
    background-color: #B0B0B0 !important;
    box-shadow: none !important;
}

#mipc-window ::-webkit-scrollbar-button:active {
    background-color: #909090 !important;
    box-shadow: none !important;
}

/* Flechas del scrollbar */
#mipc-window ::-webkit-scrollbar-button:vertical:decrement {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="7" height="5" viewBox="0 0 7 5"><polygon points="3.5,0 7,5 0,5" fill="%23000000"/></svg>');
}

#mipc-window ::-webkit-scrollbar-button:vertical:increment {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="7" height="5" viewBox="0 0 7 5"><polygon points="0,0 7,0 3.5,5" fill="%23000000"/></svg>');
}

#mipc-window ::-webkit-scrollbar-button:horizontal:decrement {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="5" height="7" viewBox="0 0 5 7"><polygon points="0,3.5 5,0 5,7" fill="%23000000"/></svg>');
}

#mipc-window ::-webkit-scrollbar-button:horizontal:increment {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="5" height="7" viewBox="0 0 5 7"><polygon points="5,3.5 0,0 0,7" fill="%23000000"/></svg>');
}