/* Base Styles */
body {
    background-image: url("../images/bliss.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    margin: 0;
    padding-bottom: 30px;
    overflow-y: hidden;
}


.desktop {
    position: fixed;
    inset: 0 0 30px 0;
    padding: 20px;
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(auto-fill, 80px);
    column-gap: 5px;
    row-gap: 5px;
}


.desktop-icon {
    width: 64px;
    height: 64px;
    text-align: center;
    cursor: pointer;
    padding: 4px;
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.desktop-icon:hover {
    background-color: rgba(49, 106, 197, 0.1);
    border: 1px solid rgba(49, 106, 197, 0.4);
}

.desktop-icon img {
    width: 32px;
    height: 32px;
    margin-bottom: 4px;
}

.desktop-icon span {
    color: white;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.8);
    font-family: Tahoma, sans-serif;
    font-size: 11px;
    width: 100%;
    text-align: center;
    word-wrap: break-word;
    line-height: 1.2;
}

/* Windows */
.window {
    position: absolute;
    min-width: 200px;
    min-height: 150px;
    background: #fff;
    display: block;
    overflow: hidden;
}

.window-body {
    padding: 0;
    height: calc(98% - 28px); /* Account for title bar */
    overflow: hidden;
}

/* Add specific background for command prompt windows */
.window[id^="window-command"] .window-body,
.window[id="window-about"] .window-body,
.window[id="window-projects"] .window-body,
.window[id="window-credits"] .window-body {
    background: #000;
}

.window[id="window-notepad"] .window-body {
    background: #ECE9D8;
    padding: 0;
}

.command-prompt {
    background: #000;
    color: #fff;
    overflow-x: hidden;
    overflow-y: auto;
    font-family: "Lucida Console", Monaco, monospace;
    font-size: 12px;
    line-height: 1.4;
    white-space: pre-wrap;
    word-wrap: break-word;
    padding: 12px 16px;
    height: 100%;
    min-height: 100%;
    box-sizing: border-box;
}

.command-prompt a {
    color: #5bf;
    text-decoration: none;
    display: inline;
}

.command-prompt a:hover {
    text-decoration: underline;
}

/* Add this to handle line breaks properly */
.command-prompt br {
    display: block;
    margin: 0.5em 0;
    content: " ";
}

/* Taskbar */
#taskbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(to bottom, #2A5EDF, #0540B4);
    display: flex;
    align-items: center;
    padding: 0 2px;
    padding-left: 0; /* Remove left padding to accommodate start button */
    gap: 0;
    z-index: 9999;
    border-top: 1px solid #0841B7;
}

.taskbar-button {
    height: 22px;
    min-width: 80px;
    max-width: 150px;
    display: flex;
    align-items: center;
    gap: 1px;
    padding: 0;
    margin: 0;
    background: linear-gradient(to bottom, #3C70E0, #2355C4);
    border: 1px solid #244AB1;
    border-radius: 2px;
    color: white;
    font-family: Tahoma, sans-serif;
    font-size: 11px;
    text-shadow: 1px 1px rgba(0, 0, 0, 0.4);
    box-shadow: inset 1px 1px rgba(255, 255, 255, 0.2);
}

.taskbar-button:not(.active) {
    background: linear-gradient(to bottom, #2A5EDF, #0540B4);
    border: 1px solid #1B3A89;
}

.taskbar-button:hover:not(.active) {
    background: linear-gradient(to bottom, #3468E1, #0945B8);
}

.taskbar-button.active {
    background: linear-gradient(to bottom, #4680E3, #2760CE);
    border: 1px solid #1D3F9E;
    box-shadow: inset 1px 1px rgba(255, 255, 255, 0.3),
                inset -1px -1px rgba(0, 0, 0, 0.1);
}

.taskbar-button img {
    width: 16px;
    height: 16px;
    margin: 0 2px;
}

.taskbar-button span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    line-height: 1;
    padding: 0 3px;
}

.system-tray {
    display: flex;
    align-items: center;
    padding: 0 8px;
    margin-left: auto;
    height: 100%;
    border-left: 1px solid #0841B7;
    background: linear-gradient(to bottom, #2A5EDF, #0540B4);
    gap: 2px; /* Add spacing between items */
}

.system-tray .clock {
    color: white;
    font-family: Tahoma, sans-serif;
    font-size: 11px;
    text-shadow: 1px 1px rgba(0, 0, 0, 0.4);
    padding: 0 4px;
}

/* Start Menu */
.start-button {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 100%;
    padding: 0 8px;
    margin-right: 2px;
    background: linear-gradient(to bottom, #3C8B1C, #276110);
    border: none;
    border-right: 1px solid #1D4A0C;
    color: white;
    font-family: Tahoma, sans-serif;
    font-size: 12px;
    font-weight: bold;
    text-shadow: 1px 1px rgba(0, 0, 0, 0.4);
    box-shadow: inset 1px 0 rgba(255, 255, 255, 0.3),
                inset 0 1px rgba(255, 255, 255, 0.3);
}

.start-button:hover {
    background: linear-gradient(to bottom, #4CA125, #307515);
}

.start-button:active {
    background: linear-gradient(to bottom, #276110, #3C8B1C);
    box-shadow: inset 1px 1px rgba(0, 0, 0, 0.2);
}

.start-button img {
    width: 16px;
    height: 16px;
}

#start-menu {
    position: fixed;
    bottom: 30px;
    left: 0;
    width: 380px;
    background: #fff;
    border: 1px solid #003C74;
    border-bottom: none;
    box-shadow: 2px -2px 5px rgba(0,0,0,0.2);
    z-index: 10000;
    display: none;
}

#start-menu.visible {
    display: block;
}

.start-menu-header {
    background: linear-gradient(to right, #0C60BD, #95B8E3);
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 54px;
}

.start-menu-header img {
    width: 48px;
    height: 48px;
    border: 1px solid #fff;
}

.start-menu-header span {
    color: white;
    font-family: Tahoma, sans-serif;
    font-size: 14px;
    font-weight: bold;
    text-shadow: 1px 1px rgba(0,0,0,0.4);
}

.start-menu-items {
    display: flex;
    height: 380px;
    background: linear-gradient(to bottom, #fff 0%, #fff 85%, #D3E5FA 100%);
}

.start-menu-primary {
    width: 200px;
    padding: 8px 0;
    border-right: 1px solid #B5CAE7;
}

.start-item {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    text-decoration: none;
    color: #000;
    font-family: Tahoma, sans-serif;
    font-size: 11px;
}

.start-item:hover {
    background: #316AC5;
    color: white;
}

.start-item img {
    width: 32px;
    height: 32px;
}

.start-menu-footer {
    border-top: 1px solid #B5CAE7;
    padding: 8px 0;
    margin-top: auto;
}

/* Photo Viewer */
.photo-window-body {
    padding: 0;
    height: calc(100% - 28px); /* Account for title bar */
    overflow: hidden;
    background: #000;
    width: 100%;
    box-sizing: border-box;
}

.photo-viewer {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    background: #ECE9D8;
    box-sizing: border-box;
    overflow: hidden; /* Add this to prevent content overflow */
}

.toolbar {
    padding: 4px 8px;
    background: #ECE9D8;
    border-bottom: 1px solid #ACA899;
    display: flex;
    gap: 8px;
    align-items: center;
}

.toolbar-group {
    display: flex;
    gap: 2px;
}

.toolbar button {
    height: 22px;
    padding: 0 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-family: Tahoma, sans-serif;
    white-space: nowrap;
}

.toolbar button img {
    width: 16px;
    height: 16px;
    flex-shrink: 0; /* Prevent icon from shrinking */
}

.toolbar-separator {
    width: 1px;
    height: 22px;
    background: #ACA899;
    margin: 0 2px;
}

.photo-container {
    flex: 1;
    position: relative;
    background: #000;
    min-height: 200px;
    overflow: hidden;
    border: 1px solid #ACA899;
    margin: 8px;
    width: calc(100% - 16px); /* Add this to account for margins */
    box-sizing: border-box;
}

.single-view,
.gallery-view {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.single-view.active {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.single-view img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    box-sizing: border-box;
    padding: 8px;
}

.gallery-view.active {
    display: block;
    background: #fff;
    overflow-y: auto;
    height: 100%;
    padding: 10px;
}

#photo-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px;
    box-sizing: border-box;
    width: 100%;
}

.thumbnail {
    width: 120px;
    height: 120px;
    object-fit: cover;
    cursor: pointer;
    border: 1px solid #ACA899;
    padding: 2px;
    background: white;
}

.thumbnail:hover {
    border-color: #316AC5;
}

.thumbnail.selected {
    border: 2px solid #316AC5;
    padding: 1px;
}

.photo-info {
    padding: 4px 8px;
    background: #ECE9D8;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #ACA899;
    font-family: Tahoma, sans-serif;
    font-size: 11px;
    color: #000;
}

/* Pinball Window */
.iframe-container {
    width: 600px;
    height: 450px;
    overflow: hidden;
    background: #000;
    position: relative;
}

.iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.iframe-container.spider {
    width: 100%;
    height: 100%;
    background: #008080;
    overflow: hidden;
}

.iframe-container.spider iframe {
    width: 545px;
    height: 375px;
    border: none;
    margin: 0;
    padding: 0;
}

/* Add to your existing CSS */
#network-popup {
    position: fixed;
    bottom: 30px;
    right: 0;
    width: 400px;
    background: #ECE9D8;
    border: 1px solid #003C74;
    border-bottom: none;
    box-shadow: 2px -2px 5px rgba(0,0,0,0.2);
    z-index: 10000;
    display: none;
}

#network-popup.visible {
    display: block;
}

#network-popup .window-body {
    margin: 0;
    padding: 8px;
}

#network-popup menu[role="tablist"] {
    padding: 0;
    margin: 0 0 8px 0;
}

.network-items {
    border: 1px solid #919B9C;
    background: white;
    padding: 8px;
    margin-top: 8px;
}

.network-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    text-decoration: none;
    color: #000;
    border: 1px solid transparent;
}

.network-item:hover {
    background: #316AC5;
    color: white;
    border: 1px dotted #FFE79C;
}

.network-item img {
    width: 32px;
    height: 32px;
}

.network-item-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.network-name {
    font-family: Tahoma, sans-serif;
    font-size: 11px;
    font-weight: bold;
}

.network-item:hover .status-bar-field {
    color: white;
}

.network-button {
    background: none;
    border: none;
    padding: 2px 4px;
    margin: 0 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 22px;
    min-width: 0px;
}

.network-button img {
    width: 16px;
    height: 16px;
    display: block;
}

/* Volume Control */
.volume-button {
    background: none;
    border: none;
    padding: 2px 4px;
    margin: 0 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 22px;
    min-width: 0px;
}

.volume-button img {
    width: 16px;
    height: 16px;
    display: block;
}

#volume-popup {
    position: fixed;
    bottom: 30px;
    right: 28px;
    width: 200px;
    background: #ECE9D8;
    border: 1px solid #003C74;
    border-bottom: none;
    box-shadow: 2px -2px 5px rgba(0,0,0,0.2);
    z-index: 10000;
    display: none;
}

#volume-popup.visible {
    display: block;
}

.volume-control {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px;
    gap: 8px;
}

.volume-control img {
    width: 32px;
    height: 32px;
}

.volume-control label {
    font-size: 11px;
    font-family: Tahoma, sans-serif;
}

.volume-control input[type="range"] {
    width: 100%;
    height: 20px;
}

/* Notepad Styles */
.notepad-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ECE9D8;
}

.notepad-menu {
    padding: 1px 0;
    background: #ECE9D8;
    border-bottom: 1px solid #ACA899;
}

.menu-bar {
    display: flex;
    gap: 2px;
    padding: 2px 4px;
}

.menu-bar button {
    padding: 2px 6px;
    font-family: Tahoma, sans-serif;
    font-size: 11px;
    border: 1px solid transparent;
    background: transparent;
    cursor: default;
}

.menu-bar button:hover {
    background: #316AC5;
    color: white;
}

.notepad-content {
    flex: 1;
    padding: 2px;
    background: white;
    overflow: auto;
}

.notepad-text {
    margin: 0;
    padding: 4px;
    font-family: "Lucida Console", Monaco, monospace;
    font-size: 12px;
    line-height: 1.4;
    white-space: pre-wrap;
    word-wrap: break-word;
    color: #000;
}
/* Add to your CSS file */
/* AIM Chatbox Styles */
.aol-chatbox {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #f6f7f9;
    font-family: 'Tahoma', Arial, sans-serif;
    border: 2px solid #ffcc00;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    min-width: 320px;
}

.aol-chat-header {
    background: linear-gradient(to right, #ffcc00 0%, #ffe680 100%);
    color: #003366;
    padding: 10px 12px;
    font-weight: bold;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #e6b800;
    border-radius: 8px 8px 0 0;
}

.aol-chat-header img {
    width: 28px;
    height: 28px;
}

.aol-chat-messages {
    flex: 1;
    padding: 10px;
    background: #fff;
    overflow-y: auto;
    font-size: 13px;
    border-bottom: 1px solid #e6b800;
}

.aol-chat-message {
    margin-bottom: 8px;
    padding: 4px 0;
}

.aol-chat-message b {
    color: #003366;
}

.aol-chat-input-row {
    display: flex;
    padding: 10px;
    background: #f6f7f9;
    border-radius: 0 0 8px 8px;
}

#aol-chat-input {
    flex: 1;
    padding: 6px;
    font-size: 13px;
    border: 1px solid #e6b800;
    border-radius: 4px;
    background: #fffbe6;
    margin-right: 8px;
}

#aol-chat-send {
    background: linear-gradient(to bottom, #ffe680, #ffcc00);
    color: #003366;
    border: 1px solid #e6b800;
    border-radius: 4px;
    padding: 6px 16px;
    font-weight: bold;
    cursor: pointer;
    font-size: 13px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    transition: background 0.2s;
}

#aol-chat-send:hover {
    background: linear-gradient(to bottom, #ffcc00, #ffe680);
}

/* Facenook Styles */
.facenook-container {
    display: flex;
    flex-direction: column;
    height: 98%;
    background: #f0f2f5;
    font-family: Tahoma, Arial, sans-serif;
    overflow: hidden;
}

.facenook-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #4267b2;
    color: #fff;
    border-bottom: 1px solid #29487d;
}

.facenook-profile-pic {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    border: 2px solid #fff;
    background: #fff;
}

.facenook-profile-info h2 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}

.facenook-username {
    font-size: 12px;
    color: #d0e1ff;
}

.facenook-nav {
    display: flex;
    gap: 8px;
    padding: 8px 12px;
    background: #e9ebee;
    border-bottom: 1px solid #ccc;
}

.facenook-nav button {
    background: #fff;
    border: 1px solid #ccd0d5;
    border-radius: 4px;
    padding: 4px 12px;
    font-size: 13px;
    color: #1c1e21;
    cursor: pointer;
    transition: background 0.2s;
}

.facenook-nav button:hover {
    background: #f0f2f5;
}

.facenook-status-update {
    display: flex;
    gap: 8px;
    padding: 10px 12px;
    background: #fff;
    border-bottom: 1px solid #ccc;
}

.facenook-status-update input[type="text"] {
    flex: 1;
    padding: 6px;
    border: 1px solid #ccd0d5;
    border-radius: 4px;
    font-size: 13px;
}

.facenook-status-update button {
    background: #4267b2;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 6px 16px;
    font-weight: bold;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.2s;
}

.facenook-status-update button:hover {
    background: #365899;
}

.facenook-timeline {
    flex: 1 1 0%;
    min-height: 0;
    overflow-y: auto;
    padding: 12px;
    background: #f0f2f5;
}

.facenook-post {
    background: #fff;
    border: 1px solid #ccd0d5;
    border-radius: 6px;
    margin-bottom: 16px;
    padding: 12px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.facenook-post-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.facenook-post-pic {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    border: 1px solid #ccc;
    background: #fff;
}

.facenook-post-author {
    font-weight: bold;
    color: #1c1e21;
    font-size: 13px;
}

.facenook-post-date {
    font-size: 11px;
    color: #65676b;
    margin-left: 6px;
}

.facenook-post-content {
    font-size: 14px;
    color: #050505;
    margin-top: 2px;
    white-space: pre-line;
    word-break: break-word;
}

/* Facenook Profile Info (Profile Page Style) */
.facenook-info {
    background: #f0f2f5;
    height: 100%;
    overflow-y: auto;
    padding: 0 !important;
}

.facenook-profile-content {
    max-width: 650px;
    margin: 32px auto;
    background: #fff;
    border: 1px solid #ccd0d5;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    padding: 32px 32px 24px 32px;
}

.facenook-profile-main {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    margin-bottom: 32px;
}

.facenook-profile-pic-large {
    width: 110px;
    height: 110px;
    border-radius: 10px;
    border: 2px solid #4267b2;
    background: #fff;
    object-fit: cover;
    flex-shrink: 0;
}

.facenook-profile-details {
    flex: 1;
}

.facenook-profile-details h2 {
    margin: 0 0 8px 0;
    font-size: 2em;
    font-weight: bold;
    color: #1c1e21;
    display: flex;
    align-items: center;
    gap: 10px;
}

.facenook-profile-details .facenook-username {
    color: #4267b2;
    font-size: 0.7em;
    font-weight: normal;
    margin-left: 8px;
}

.facenook-profile-details p {
    margin: 0 0 18px 0;
    color: #222;
    font-size: 1.1em;
}

.facenook-profile-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.facenook-profile-links li {
    margin-bottom: 8px;
    font-size: 1em;
}

.facenook-profile-links a {
    color: #385898;
    text-decoration: none;
    font-weight: bold;
}

.facenook-profile-links a:hover {
    text-decoration: underline;
}

.facenook-profile-section {
    margin-bottom: 28px;
}

.facenook-profile-section h3 {
    margin: 0 0 12px 0;
    font-size: 1.2em;
    color: #385898;
    font-weight: bold;
    border-bottom: 1px solid #e4e6eb;
    padding-bottom: 4px;
}

.facenook-project-list,
.facenook-blog-list {
    list-style: disc inside;
    margin: 0 0 0 12px;
    padding: 0;
}

.facenook-project-list li,
.facenook-blog-list li {
    margin-bottom: 8px;
    font-size: 1em;
}

.facenook-project-list a,
.facenook-blog-list a {
    color: #385898;
    text-decoration: none;
    font-weight: bold;
}

.facenook-project-list a:hover,
.facenook-blog-list a:hover {
    text-decoration: underline;
}

.facenook-blog-link {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.95em;
    color: #4267b2;
    text-decoration: none;
}

.facenook-blog-link:hover {
    text-decoration: underline;
}