.closebutton {
  background-color: #ffffff;
  color: #ffffff;
  width: 100%;
  height: 28px;
  border-radius: 6px 6px 0 0;
  display: block;
  margin: 0;
  cursor: grab;
  line-height: 28px;
  padding: 0;
  box-sizing: border-box;
}

.windowclose {
    position: absolute;
    top: 4px;
    right: 8px;
    cursor: pointer;
    margin: 0;
    border: 1px solid #ff4b4b;
    background: none;
    color: #ff4b4b;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
    z-index: 2;
}

.windowheader {
    background-color: #ffffff00;
    color: #ffffff00;
    width: 100%;
    height: 28px;
    border-radius: 6px 6px 0 0; 
    display: block; 
    margin: 0; 
    cursor: grab; 
    line-height: 28px; 
    padding: 0; 
    box-sizing: border-box;
}

.welcomewindow {
    border: solid;
    border-color: #bababa;
    width: fit-content;
    border-radius: 8px;
    margin: 4px;
    padding: 4px;
    background-color: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(1px);
    box-shadow: 0px 0px 8px #d29b48;
    position: absolute;
    top: 63%;
    left: 52%;
    transform: translate(-50%, -50%);
}

.window {
    border: solid;
    border-color: #000000ba;
    width: fit-content;
    border-radius: 8px;
    margin: 4px;
    padding: 4px;
    background-color: rgba(5, 5, 5, 0.693);
    backdrop-filter: blur(1px);
    box-shadow: 0px 0px 8px #f16b17ce;
    position: absolute;
    top: 63%;
    left: 52%;
    transform: translate(-50%, -50%);
}

.taskbar {
    position: fixed; 
    bottom: 0; 
    width: 100%; 
    display: flex; 
    backdrop-filter: blur(10px); 
    background-color: rgba(0, 0, 0, 0.25); 
    color: #fff; 
    justify-content: space-between; 
    border-radius: 8px;
}

.textosparaiconos {
    color: #ffffff;
    font-family: Georgia, serif;
    font-size: 14px;
    line-height: 1.5;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    gap: 6px;
    margin: 0 0 0 6px;
    padding: 0;
}

.textos{
    color: #ffffff;
    font-family: Georgia, serif;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    padding: 0;
}

/* App icon base style */
.app-icon {
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    object-fit: cover;
    transition: transform 150ms ease, box-shadow 150ms ease;
    display: inline-block;
}

/* Visual indicator for a selected icon */
.selected {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.35), 0 0 0 4px rgba(210,155,72,0.18);
    border-radius: 12px;
    outline: 2px solid rgba(255,255,255,0.06);
}


.iconoseleccionado {
    border: 2px solid #ffffff;
    border-radius: 4px;
    padding: 2px;
    margin: 2px;
}

/*!Easter Egg: The "Eye of Sauron" icon on the desktop links to a YouTube video, which is a fun and thematic addition to the Middle Earth OS project.*/