body {
    background-image: url('icons/wallpaper.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;

    margin: 0;
}

.top_menu_bar {
    width: 100%;
    height: 30px;
    background-color: rgba(45, 45, 45, 0.85); 

    color: #ffffff; 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 13px;
    
    display: flex;
    justify-content: space-between; 
    padding: 0 15px; 
    box-sizing: border-box;
}

.menu_left {
    display: flex;
    align-items: center; 
    gap: 15px; 
    height: 100%;
}

.menu_right {
    display: flex;
    align-items: center; 
    gap: 15px; 
    height: 100%;
}

.top_menu_bar span {
    display: flex;
    align-items: center;
    height: 100%;
    line-height: 1;
}

.top_menu_bar img {
    display: block;
}

.battery_group {
    gap: 4px;
}

.desktop_area {
    position: absolute;
    top: 30px;
    bottom: 40px;
    left: -10px;
    
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: flex-end;
    gap: 10px 20px;
    padding: 20px;
}

.desktop_icon {
    width: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    text-align: center;
}

.desktop_icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 5px;
    filter: drop-shadow(0px 2px 4px rgba(0,0,0,0.3));
}

.desktop_icon span {
    color: white;
    font-size: 12px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.8);
    padding: 2px 6px;
    border-radius: 4px;
}

.desktop_icon:hover span {
    background-color: rgba(10, 96, 255, 0.6);
}

.dock_bar {
    width: fit-content;
    height: 50px; 
    position: absolute;
    bottom: 10px;
    left: 50%; 
    transform: translateX(-50%);
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-end; 
    gap: 12px;
    padding: 0px 10px 4px 10px; 

    background-color: rgba(45, 45, 45, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.dock_bar span {
    position: relative;
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    transition: width 0.15s ease-out, height 0.15s ease-out, margin-bottom 0.15s ease-out;
    will-change: width, height, margin-bottom;
    cursor: pointer;
}

.dock_bar span::after {
    content: attr(data-title);
    position: absolute;
    top: -30px;
    background-color: rgba(45, 45, 45, 0.75);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 13px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    white-space: nowrap;
    pointer-events: none;
    
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.dock_bar span:hover::after {
    opacity: 1;
    transform: translateY(0);
}

.dock_bar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
}

.dock_divider {
    width: 2px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    margin: 0 5px;
    margin-bottom: 4px;
}


.mac_window {
    position: absolute;
    top: 15%;
    left: 20%;
    width: 600px;
    height: 400px;
    background-color: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 100;
}

.window_top_bar {
    height: 30px;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    padding: 0 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.window_title {
    flex-grow: 1;
    text-align: center;
    color: white;
    font-size: 13px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 500;
    padding-right: 45px;
}

.window_buttons {
    display: flex;
    gap: 8px;
}

.window_buttons span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
}

.close_btn { background-color: #ff5f56; }
.min_btn { background-color: #ffbd2e; }
.max_btn { background-color: #27c93f; }

.window_content {
    padding: 10px;
    color: white;
    font-family: -apple-system, sans-serif;
    flex-grow: 1;
    overflow-y: auto;
}

.window_top_bar {
    cursor: grab;
}

.window_top_bar:active {
    cursor: grabbing;
}

a:link {
    color: rgb(137, 159, 180);
    background-color: transparent;
    text-decoration: none;
}

a:visited {
    color: rgb(137, 159, 180);
    background-color: transparent;
    text-decoration: none;
}