#windows-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100vh - 40px);
    pointer-events: none;
    z-index: 1000;
}

.window {
    position: absolute;
    min-width: 400px;
    min-height: 300px;
    background: #f0f0f0;
    border: 1px solid rgba(100, 130, 160, 0.8);
    border-radius: 8px 8px 0 0;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    pointer-events: auto;
    animation: windowOpen 0.2s ease-out;
}

@keyframes windowOpen {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.window.maximized {
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: calc(100vh - 40px) !important;
    border-radius: 0;
    animation: none;
}

.window.minimizing {
    animation: windowMinimize 0.3s ease-in forwards;
}

@keyframes windowMinimize {
    to {
        transform: scale(0.1) translateY(100vh);
        opacity: 0;
    }
}

.window-titlebar {
    height: 30px;
    background: linear-gradient(to bottom, 
        rgba(185, 209, 234, 0.98) 0%,
        rgba(161, 193, 226, 0.98) 50%,
        rgba(145, 182, 220, 0.98) 51%,
        rgba(160, 194, 228, 0.98) 100%);
    border-bottom: 1px solid rgba(100, 130, 160, 0.6);
    border-radius: 8px 8px 0 0;
    display: flex;
    align-items: center;
    padding: 0 5px 0 10px;
    cursor: move;
    user-select: none;
}

.window.inactive .window-titlebar {
    background: linear-gradient(to bottom, 
        rgba(220, 230, 240, 0.98) 0%,
        rgba(200, 215, 230, 0.98) 50%,
        rgba(190, 210, 225, 0.98) 51%,
        rgba(205, 220, 235, 0.98) 100%);
}

.window-icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
}

.window-title {
    flex: 1;
    color: #2e2e2e;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.window.inactive .window-title {
    color: #6e6e6e;
}

.window-controls {
    display: flex;
    gap: 2px;
}

.window-button {
    width: 28px;
    height: 22px;
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 0.5), 
        rgba(220, 235, 250, 0.5));
    border: 1px solid rgba(150, 180, 210, 0.6);
    border-radius: 3px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
}

.window-button:hover {
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 0.8), 
        rgba(235, 245, 255, 0.8));
}

.window-button:active {
    background: linear-gradient(to bottom, 
        rgba(180, 210, 240, 0.8), 
        rgba(200, 225, 250, 0.8));
}

.window-button.close-btn:hover {
    background: linear-gradient(to bottom, 
        rgba(232, 17, 35, 0.9), 
        rgba(200, 10, 25, 0.9));
    border-color: rgba(150, 10, 20, 0.8);
}

.window-button img {
    width: 12px;
    height: 12px;
    pointer-events: none;
}

/* Window content area */
.window-content {
    flex: 1;
    overflow: auto;
    background: #fff;
    padding: 20px;
}

/* Resize handles */
.resize-handle {
    position: absolute;
    z-index: 1;
}

.resize-n {
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    cursor: n-resize;
}

.resize-s {
    bottom: 0;
    left: 0;
    right: 0;
    height: 5px;
    cursor: s-resize;
}

.resize-e {
    top: 0;
    right: 0;
    bottom: 0;
    width: 5px;
    cursor: e-resize;
}

.resize-w {
    top: 0;
    left: 0;
    bottom: 0;
    width: 5px;
    cursor: w-resize;
}

.resize-ne {
    top: 0;
    right: 0;
    width: 10px;
    height: 10px;
    cursor: ne-resize;
}

.resize-nw {
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    cursor: nw-resize;
}

.resize-se {
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    cursor: se-resize;
}

.resize-sw {
    bottom: 0;
    left: 0;
    width: 10px;
    height: 10px;
    cursor: sw-resize;
}

/* Window content templates */
.window-content h2 {
    color: #2e2e2e;
    margin-bottom: 15px;
    font-size: 20px;
    border-bottom: 2px solid #3399ff;
    padding-bottom: 10px;
}

.window-content h3 {
    color: #2e2e2e;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 16px;
}

.window-content p {
    color: #4e4e4e;
    line-height: 1.6;
    margin-bottom: 15px;
}

.window-content ul {
    list-style: none;
    padding-left: 0;
}

.window-content li {
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
}

.window-content a {
    color: #0066cc;
    text-decoration: none;
}

.window-content a:hover {
    text-decoration: underline;
}

/* Project cards */
.project-card {
    background: #f8f8f8;
    border: 1px solid #d0d0d0;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 15px;
}

.project-card h3 {
    margin-top: 0;
    color: #0066cc;
}

.project-card p {
    margin-bottom: 10px;
}

.project-card .tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.tech-tag {
    background: #3399ff;
    color: #fff;
    padding: 4px 12px;
    border-radius: 3px;
    font-size: 12px;
}

.project-link {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 16px;
    background: linear-gradient(180deg, #5ebd3e 0%, #4a9e2e 100%);
    color: white;
    text-decoration: none;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.project-link:hover {
    background: linear-gradient(180deg, #6ed048 0%, #5bb03a 100%);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Skills grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.skill-item {
    background: #f8f8f8;
    border: 1px solid #d0d0d0;
    border-radius: 5px;
    padding: 15px;
    text-align: center;
}

.skill-item h4 {
    color: #2e2e2e;
    margin-bottom: 8px;
    font-size: 14px;
}

.skill-level {
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.skill-level-fill {
    height: 100%;
    background: linear-gradient(to right, #3399ff, #00aeef);
    transition: width 0.5s ease;
}

/* Contact form */
.contact-form {
    max-width: 500px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #2e2e2e;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #c0c0c0;
    border-radius: 3px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3399ff;
    box-shadow: 0 0 5px rgba(51, 153, 255, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    background: linear-gradient(to bottom, #3399ff, #0066cc);
    color: #fff;
    border: none;
    padding: 10px 30px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}

.submit-button:hover {
    background: linear-gradient(to bottom, #4da6ff, #0073e6);
}

.submit-button:active {
    transform: translateY(1px);
}

/* Windows Media Player Styles */
.wmp-app {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #f0f0f0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    overflow: hidden;
}

.wmp-body {
    flex: 1;
    display: flex;
    overflow: hidden;
}

.wmp-left-panel {
    width: 220px;
    background: #e9e9e9;
    border-right: 1px solid #ccc;
    display: flex;
    flex-direction: column;
    padding: 15px;
}

.wmp-album-art-container {
    width: 190px;
    height: 190px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid #bbb;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wmp-album-art {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wmp-default-art {
    display: flex;
    align-items: center;
    justify-content: center;
}

.wmp-default-art img {
    width: 80px;
    height: 80px;
    opacity: 0.5;
}

.wmp-track-info {
    text-align: center;
}

.wmp-track-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wmp-track-artist, .wmp-track-album {
    font-size: 12px;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wmp-right-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.wmp-playlist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 15px;
    background: linear-gradient(to bottom, #fdfdfd 0%, #f5f5f5 100%);
    border-bottom: 1px solid #ccc;
}

.wmp-playlist-header h4 {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
}

.wmp-open-file-btn {
    font-size: 12px;
    padding: 3px 10px;
}

.wmp-playlist-container {
    flex: 1;
    overflow-y: auto;
    background: #fff;
}

.wmp-playlist-items .playlist-header {
    background: #f0f0f0;
    padding: 5px 15px;
    font-size: 11px;
    font-weight: bold;
    color: #555;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
}

.wmp-playlist-items .playlist-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    font-size: 12px;
}

.wmp-playlist-items .playlist-item:hover {
    background: #e6f3ff;
}

.wmp-playlist-items .playlist-item.active {
    background: #cce4ff;
    font-weight: 600;
}

.playlist-item .track-name {
    flex-grow: 1;
}

.playlist-item .track-artist-playlist {
    width: 120px;
    color: #555;
    padding-left: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.playlist-item .track-duration {
    width: 40px;
    text-align: right;
    color: #777;
}

.wmp-controls {
    background: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%);
    border-top: 1px solid #ccc;
    padding: 8px 15px;
}

.wmp-progress-container {
    margin-bottom: 8px;
}

.wmp-seek-bar {
    width: 100%;
}

.wmp-controls-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wmp-time-display {
    font-size: 11px;
    color: #444;
}

.wmp-buttons {
    display: flex;
    gap: 8px;
}

.wmp-button {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #333;
}

.wmp-play-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(to bottom, #fff 0%, #eee 100%);
    border: 1px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.wmp-play-btn:hover {
    border-color: #99c2ff;
}

.wmp-play-btn img {
    width: 18px;
    height: 18px;
}

.wmp-volume-container {
    display: flex;
    align-items: center;
    gap: 5px;
}

.wmp-volume-bar {
    width: 80px;
}

/* Personalization (Wallpaper) App Styles */
.personalization-app {
    display: flex;
    height: 100%;
    background-color: #f0f0f0;
}

.personalization-sidebar {
    width: 200px;
    background: #e9e9e9;
    border-right: 1px solid #ccc;
    padding: 15px;
    font-size: 12px;
}

.personalization-sidebar h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #0078d7;
}

.personalization-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.personalization-sidebar ul li {
    padding: 8px 0;
    cursor: pointer;
}

.personalization-sidebar ul li:hover {
    color: #0078d7;
}

.personalization-main {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.personalization-main h3 {
    margin-top: 0;
}

.personalization-main > p {
    margin-bottom: 25px;
    font-size: 13px;
    color: #555;
}

.theme-section {
    flex: 1;
    border: 1px solid #ccc;
    background: #fff;
    padding: 15px;
    overflow-y: auto;
}

.theme-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 12px;
}

.theme-header h4 {
    margin: 0;
}

.theme-header span {
    color: #0078d7;
    cursor: pointer;
}

.wallpaper-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 20px;
}

.wallpaper-item {
    cursor: pointer;
    text-align: center;
}

.wallpaper-thumbnail {
    width: 100%;
    height: 90px;
    object-fit: cover;
    border: 3px solid transparent;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.wallpaper-item:hover .wallpaper-thumbnail {
    border-color: #99c2ff;
}

.wallpaper-item.active .wallpaper-thumbnail {
    border-color: #0078d7;
}

.wallpaper-name {
    font-size: 11px;
    margin-top: 5px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.theme-actions {
    padding-top: 15px;
    text-align: right;
}

.theme-button {
    padding: 6px 15px;
    font-size: 12px;
    border: 1px solid #ccc;
    border-radius: 3px;
    background: linear-gradient(to bottom, #fff 0%, #eee 100%);
    cursor: pointer;
    margin-left: 8px;
}

.theme-button:hover {
    border-color: #0078d7;
}

/* Recycle Bin Styles */
.recycle-bin-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.recycle-bin-toolbar {
    padding: 10px 15px;
    background: linear-gradient(to bottom, #f8f8f8 0%, #e8e8e8 100%);
    border-bottom: 1px solid #ccc;
    display: flex;
    gap: 10px;
    align-items: center;
}

.recycle-btn {
    padding: 6px 12px;
    font-size: 12px;
    border: 1px solid #999;
    border-radius: 3px;
    background: linear-gradient(to bottom, #fff 0%, #e8e8e8 100%);
    cursor: pointer;
    transition: all 0.15s;
}

.recycle-btn:hover {
    background: linear-gradient(to bottom, #e8f4fd 0%, #d0e8f7 100%);
    border-color: #0078d7;
}

.recycle-btn:active {
    background: linear-gradient(to bottom, #d0e8f7 0%, #b8d8f0 100%);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.recycle-bin-content {
    flex: 1;
    padding: 15px;
    overflow: auto;
    background: #fff;
}

.recycle-bin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    align-content: start;
}

.recycle-bin-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 300px;
    color: #666;
    font-size: 14px;
}

.recycle-bin-empty img {
    margin-bottom: 15px;
}

.recycle-item {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.15s;
    position: relative;
}

.recycle-item:hover {
    background: #f0f8ff;
    border-color: #0078d7;
    box-shadow: 0 2px 8px rgba(0, 120, 215, 0.2);
}

.recycle-item-icon {
    text-align: center;
    margin-bottom: 8px;
}

.recycle-item-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.recycle-item-name {
    font-size: 12px;
    font-weight: 500;
    color: #333;
    text-align: center;
    margin-bottom: 4px;
    word-break: break-word;
    line-height: 1.2;
}

.recycle-item-date {
    font-size: 10px;
    color: #666;
    text-align: center;
    margin-bottom: 8px;
}

.recycle-item-actions {
    display: flex;
    gap: 5px;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.15s;
}

.recycle-item:hover .recycle-item-actions {
    opacity: 1;
}

.restore-btn, .delete-permanent-btn {
    padding: 3px 8px;
    font-size: 10px;
    border: 1px solid #ccc;
    border-radius: 2px;
    background: #fff;
    cursor: pointer;
    transition: all 0.15s;
}

.restore-btn {
    color: #0078d7;
    border-color: #0078d7;
}

.restore-btn:hover {
    background: #0078d7;
    color: #fff;
}

.delete-permanent-btn {
    color: #d13438;
    border-color: #d13438;
}

.delete-permanent-btn:hover {
    background: #d13438;
    color: #fff;
}

