/* ===== Ubuntu Desktop Portfolio - André Bassi ===== */

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Ubuntu Colors */
    --ubuntu-orange: #e95420;
    --ubuntu-orange-light: #f47b52;
    --ubuntu-purple: #77216f;
    --ubuntu-purple-light: #5e2750;
    --ubuntu-dark: #2c2c2c;
    --ubuntu-darker: #1d1d1d;
    --ubuntu-panel: #1a1a1a;
    --window-bg: #2c2c2c;
    --window-header: #373737;
    --window-border: #1a1a1a;
    --text: #ffffff;
    --text-muted: #999999;
    --close: #e95420;
    --minimize: #f99b11;
    --maximize: #0a8754;
    --font: 'Ubuntu', 'Inter', -apple-system, sans-serif;
}

@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@400;500;700&display=swap');

body {
    font-family: var(--font);
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    user-select: none;
}

/* Ubuntu Desktop Background */
.desktop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 48px 20px 80px 80px;
    background-color: #0a0a14;
}

/* Wallpaper Container */
.wallpaper-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.wallpaper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.wallpaper.active {
    opacity: 1;
}

/* Dark overlay */
.wallpaper-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 10, 20, 0.8) 0%, rgba(20, 20, 40, 0.7) 100%);
    z-index: 1;
}

/* Top Panel - Ubuntu Style */
.top-panel {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 28px;
    background: var(--ubuntu-panel);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    z-index: 2000;
    font-size: 13px;
    color: var(--text);
}

.panel-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.activities-btn {
    padding: 2px 8px;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.2s;
}

.activities-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.panel-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 500;
}

.panel-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.panel-right svg {
    width: 16px;
    height: 16px;
    opacity: 0.9;
}

/* Language Switcher */
.lang-switch {
    font-size: 16px;
    text-decoration: none;
    opacity: 0.9;
    transition: all 0.2s ease;
    cursor: pointer;
}

.lang-switch:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Left Dock - Ubuntu Style */
.dock {
    position: fixed;
    left: 0;
    top: 28px;
    bottom: 0;
    width: 68px;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 0;
    gap: 4px;
    z-index: 1000;
}

.dock-item {
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    border: 1px solid transparent;
}

.dock-item:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.1);
}

.dock-item:active {
    transform: scale(0.95);
}

.dock-item svg {
    width: 28px;
    height: 28px;
    color: white;
}

.dock-item.active {
    background: rgba(233, 84, 32, 0.3);
    border-color: var(--ubuntu-orange);
}

.dock-item.active::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 20px;
    background: var(--ubuntu-orange);
    border-radius: 0 2px 2px 0;
}

.dock-separator {
    width: 36px;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    margin: 8px 0;
}

/* Desktop Icons */
.desktop-icons {
    display: grid;
    grid-template-columns: repeat(auto-fill, 100px);
    grid-auto-rows: 100px;
    gap: 8px;
    align-content: start;
    position: relative;
    z-index: 2;
    max-height: calc(100vh - 140px);
    width: 100%;
    height: 100%;
}

.desktop-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.desktop-icon:hover {
    background: rgba(255, 255, 255, 0.1);
}

.desktop-icon:active {
    transform: scale(0.95);
}

.desktop-icon.selected {
    background: rgba(233, 84, 32, 0.3);
}

.icon-image {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--ubuntu-orange) 0%, var(--ubuntu-orange-light) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.icon-image svg {
    width: 26px;
    height: 26px;
    color: white;
}

.icon-label {
    font-size: 12px;
    color: white;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
    max-width: 120px;
    word-wrap: break-word;
    white-space: normal;
}

/* Windows Container */
.windows-container {
    position: fixed;
    top: 28px;
    left: 68px;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 100;
}

/* Ubuntu Window */
.window {
    position: absolute;
    min-width: 500px;
    min-height: 400px;
    background: var(--window-bg);
    border-radius: 10px 10px 0 0;
    border: 1px solid var(--window-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    pointer-events: auto;
    transition: box-shadow 0.2s ease;
}

.window.focused {
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6);
    z-index: 999 !important;
}

.window.maximized {
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 0;
}

.window.minimized {
    transform: scale(0.1);
    opacity: 0;
    pointer-events: none;
}

/* Ubuntu Window Header */
.window-header {
    display: flex;
    align-items: center;
    padding: 0 8px;
    height: 38px;
    background: var(--window-header);
    border-bottom: 1px solid var(--window-border);
    cursor: grab;
    flex-shrink: 0;
}

.window-header:active {
    cursor: grabbing;
}

.window-title {
    flex: 1;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 60px;
}

.window-controls {
    display: flex;
    gap: 8px;
    position: absolute;
    right: 8px;
}

.window-btn {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
}

.window-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.window-btn.close:hover {
    background: var(--close);
}

.window-btn.minimize:hover {
    background: var(--minimize);
}

.window-btn.maximize:hover {
    background: var(--maximize);
}

.window-btn svg {
    width: 10px;
    height: 10px;
    color: white;
    opacity: 0;
}

.window-btn:hover svg {
    opacity: 1;
}

.window-spacer {
    display: none;
}

/* Window Content */
.window-content {
    flex: 1;
    padding: 28px;
    overflow-y: auto;
    color: var(--text);
    background: var(--ubuntu-darker);
}

.window-content::-webkit-scrollbar {
    width: 10px;
}

.window-content::-webkit-scrollbar-track {
    background: var(--ubuntu-darker);
}

.window-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 5px;
    border: 2px solid var(--ubuntu-darker);
}

.window-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Content Styles */
.window-content h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--ubuntu-orange);
}

.window-content h2 {
    font-size: 20px;
    font-weight: 600;
    margin: 28px 0 14px;
    color: var(--text);
}

.window-content h3 {
    font-size: 15px;
    font-weight: 600;
    margin: 20px 0 10px;
    color: var(--ubuntu-orange-light);
}

.window-content p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 18px;
    font-size: 15px;
}

.window-content .subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 28px;
}

/* Profile Header */
.profile-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 28px;
}

.profile-avatar {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--ubuntu-orange) 0%, var(--ubuntu-purple) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    font-weight: 700;
}

.profile-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--ubuntu-orange);
    box-shadow: 0 4px 15px rgba(233, 84, 32, 0.3);
}

.profile-info h1 {
    margin-bottom: 4px;
}

/* Project Window Styles */
.project-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.project-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.project-icon svg {
    width: 36px;
    height: 36px;
    color: white;
}

/* Video Container */
.video-container {
    margin: 20px 0;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}

.video-placeholder {
    aspect-ratio: 16/9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: var(--text-muted);
}

.video-placeholder svg {
    width: 48px;
    height: 48px;
    opacity: 0.5;
}

.video-placeholder span {
    font-size: 14px;
}

/* Embedded Video */
.video-container iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
    border-radius: 12px;
}

/* Project Links */
.project-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(233, 84, 32, 0.15);
    border: 1px solid var(--ubuntu-orange);
    border-radius: 8px;
    color: var(--ubuntu-orange);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-link:hover {
    background: var(--ubuntu-orange);
    color: white;
    transform: translateY(-2px);
}

.btn-link svg {
    width: 18px;
    height: 18px;
}

.profile-info .subtitle {
    margin-bottom: 0;
}

/* Tags */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 14px 0;
}

.tag {
    padding: 8px 16px;
    background: rgba(233, 84, 32, 0.15);
    border: 1px solid rgba(233, 84, 32, 0.3);
    border-radius: 6px;
    font-size: 13px;
    color: var(--ubuntu-orange-light);
    transition: all 0.2s ease;
}

.tag:hover {
    background: rgba(233, 84, 32, 0.25);
    transform: translateY(-2px);
}

.tag.blue {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
    color: #93c5fd;
}

.tag.green {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.3);
    color: #86efac;
}

.tag.orange {
    background: rgba(249, 115, 22, 0.15);
    border-color: rgba(249, 115, 22, 0.3);
    color: #fdba74;
}

.tag.purple {
    background: rgba(119, 33, 111, 0.2);
    border-color: rgba(119, 33, 111, 0.4);
    color: #d8a9d4;
}

.tag.cyan {
    background: rgba(6, 182, 212, 0.15);
    border-color: rgba(6, 182, 212, 0.3);
    color: #67e8f9;
}

.tag.red {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

/* Open Source Grid */
.opensource-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

.opensource-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.opensource-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--ubuntu-orange);
    transform: translateX(4px);
}

.opensource-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.opensource-icon svg {
    width: 32px;
    height: 32px;
}

.opensource-info {
    flex: 1;
}

.opensource-info h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    color: var(--text);
}

.opensource-info p {
    margin: 0 0 12px 0;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

.opensource-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.opensource-tags .tag {
    padding: 4px 10px;
    font-size: 11px;
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.article-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.article-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: #F59E0B;
    transform: translateY(-2px);
}

.article-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.article-icon svg {
    width: 26px;
    height: 26px;
}

.article-info {
    flex: 1;
    min-width: 0;
}

.article-info h3 {
    margin: 0 0 6px 0;
    font-size: 14px;
    color: var(--text);
    line-height: 1.3;
}

.article-info p {
    margin: 0 0 10px 0;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}

.article-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.article-tags .tag {
    padding: 3px 8px;
    font-size: 10px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin: 24px 0;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 24px;
    text-align: center;
    transition: all 0.2s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-4px);
    border-color: var(--ubuntu-orange);
}

.stat-value {
    font-size: 36px;
    font-weight: 700;
    color: var(--ubuntu-orange);
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 6px;
}

/* Skills Grid */
.skills-content {
    padding: 0 10px;
}

.skills-content h1 {
    margin-bottom: 20px;
}

.skills-content h2 {
    margin-top: 30px;
    margin-bottom: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.skill-category {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 16px;
    transition: all 0.2s ease;
}

.skill-category:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(233, 84, 32, 0.3);
}

.skill-category h3 {
    font-size: 14px;
    margin-bottom: 12px;
    color: var(--ubuntu-orange);
}

.skill-category ul {
    margin: 0;
    padding-left: 18px;
}

.skill-category li {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 6px;
    line-height: 1.4;
}

.tech-stack-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.tech-stack-grid h4 {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tech-stack-grid .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag.cyan {
    background: rgba(6, 182, 212, 0.15);
    color: #06B6D4;
}

/* Project Cards */
.projects-grid {
    display: grid;
    gap: 18px;
    margin-top: 20px;
}

.project-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 24px;
    transition: all 0.2s ease;
}

.project-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--ubuntu-orange);
    transform: translateX(4px);
}

.project-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 18px;
}

.project-card p {
    margin-bottom: 14px;
    font-size: 14px;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ubuntu-orange);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.project-link:hover {
    color: var(--ubuntu-orange-light);
    gap: 12px;
}

.project-link svg {
    width: 16px;
    height: 16px;
}

/* Contact Links */
.contact-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: var(--text);
    text-decoration: none;
    transition: all 0.2s ease;
}

.contact-item:hover {
    background: rgba(233, 84, 32, 0.15);
    border-color: var(--ubuntu-orange);
    transform: translateX(4px);
}

.contact-item svg {
    width: 26px;
    height: 26px;
    color: var(--ubuntu-orange);
}

.contact-item span {
    font-size: 15px;
}

/* Terminal Window Special */
.terminal-content {
    background: #1d1d1d;
    border-radius: 8px;
    padding: 20px;
    font-family: 'Ubuntu Mono', 'JetBrains Mono', monospace;
    font-size: 14px;
    line-height: 1.6;
}

.terminal-line {
    margin-bottom: 6px;
}

.terminal-prompt {
    color: #4e9a06;
}

.terminal-command {
    color: #c9d1d9;
}

.terminal-output {
    color: #8b949e;
}

.terminal-success {
    color: #4e9a06;
}

/* List styles */
.window-content ul {
    list-style: none;
    margin: 14px 0;
}

.window-content li {
    padding: 10px 0;
    padding-left: 24px;
    position: relative;
    color: var(--text-muted);
    font-size: 15px;
}

.window-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    width: 8px;
    height: 8px;
    background: var(--ubuntu-orange);
    border-radius: 50%;
}

/* Links */
.window-content a {
    color: var(--ubuntu-orange);
    text-decoration: none;
    transition: color 0.2s ease;
}

.window-content a:hover {
    color: var(--ubuntu-orange-light);
    text-decoration: underline;
}

/* Resize handle */
.resize-handle {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 16px;
    height: 16px;
    cursor: nwse-resize;
}

/* Responsive */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .desktop {
        padding: 48px 10px 10px 10px;
    }

    .dock {
        display: none;
    }

    .windows-container {
        left: 0;
    }

    .desktop-icons {
        justify-content: center;
    }

    .window {
        min-width: calc(100% - 20px) !important;
        left: 10px !important;
        right: 10px !important;
        width: calc(100% - 20px) !important;
        top: 50px !important;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .profile-header {
        flex-direction: column;
        text-align: center;
    }
}

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

.window {
    animation: windowOpen 0.15s ease-out;
}

/* Selection */
::selection {
    background: var(--ubuntu-orange);
    color: white;
}

/* Browser Window Style */
.browser-window {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #1a1a1a;
}

.browser-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    background: #2d2d2d;
    border-bottom: 1px solid #1a1a1a;
    flex-shrink: 0;
}

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

.browser-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.browser-btn.red {
    background: #ff5f56;
}

.browser-btn.yellow {
    background: #ffbd2e;
}

.browser-btn.green {
    background: #27c93f;
}

.browser-address-bar {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: #1a1a1a;
    border-radius: 6px;
    font-size: 13px;
    color: #999;
}

.browser-address-bar .lock-icon {
    width: 14px;
    height: 14px;
    color: #4ade80;
    flex-shrink: 0;
}

.browser-url {
    color: #ccc;
    font-family: 'Ubuntu', sans-serif;
}

.browser-actions {
    display: flex;
    align-items: center;
}

.browser-external {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    color: #999;
    transition: all 0.2s ease;
}

.browser-external:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--ubuntu-orange);
}

.browser-external svg {
    width: 18px;
    height: 18px;
}

.browser-iframe {
    flex: 1;
    width: 100%;
    border: none;
    background: white;
}

/* Remove padding when window contains browser */
.window-content:has(.browser-window) {
    padding: 0;
    overflow: hidden;
}

/* Video Window */
.video-window {
    width: 100%;
    height: 100%;
    background: #000;
}

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

.window-content:has(.video-window) {
    padding: 0;
    overflow: hidden;
}

/* PDF Window */
.pdf-window {
    width: 100%;
    height: 100%;
    background: #525659;
}

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

.window-content:has(.pdf-window) {
    padding: 0;
    overflow: hidden;
}

/* Right side icons (PDFs and Videos) */
.desktop-icon.right-icon {
    position: absolute;
    width: 110px;
}

/* PDF icons */
.desktop-icon.pdf-1 {
    right: 30px;
    top: 60px;
}

.desktop-icon.pdf-2 {
    right: 30px;
    top: 170px;
}

/* Video icons */
.desktop-icon.video-1 {
    right: 30px;
    top: 280px;
}

.desktop-icon.video-2 {
    right: 30px;
    top: 390px;
}

.desktop-icon.video-3 {
    right: 30px;
    top: 500px;
}
