* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Override all border-radius to 0 */
* {
    border-radius: 0 !important;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
    height: 100vh;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

/* Desktop */
.desktop {
    height: calc(100vh - 48px);
    position: relative;
    overflow: hidden;
}

.desktop::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
    z-index: 1;
    pointer-events: none;
}

.desktop-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

.desktop-icons {
    display: grid;
    grid-template-columns: repeat(auto-fill, 80px);
    gap: 20px;
    padding: 20px;
    position: relative;
    z-index: 2;
}

.desktop-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    position: relative;
    user-select: none;
    backdrop-filter: blur(5px);
    min-height: 44px;
    min-width: 44px;
    -webkit-tap-highlight-color: rgba(255,255,255,0.2);
    touch-action: manipulation;
}



.desktop-icon.selected {
    background: rgba(0, 120, 212, 0.4);
    border: 2px solid rgba(0, 120, 212, 0.8);
    box-shadow: 0 0 20px rgba(0, 120, 212, 0.5);
}

.desktop-icon input.rename-input {
    background: white;
    color: black;
    border: none;
    outline: 2px solid #0078d4;
    padding: 2px 4px;
    border-radius: 0px;
    font-size: 12px;
    text-align: center;
    width: 70px;
}

/* Context Menu */
.context-menu {
    position: fixed;
    background: white;
    border: 1px solid #ccc;
    border-radius: 0px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    z-index: 6000;
    min-width: 140px;
    padding: 4px 0;
    font-family: 'Segoe UI', sans-serif;
}

.context-item {
    padding: 8px 16px;
    cursor: pointer;
    font-size: 13px;
    color: #333;
    transition: all 0.1s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.context-item:hover {
    background: #f0f8ff;
    color: #0078d4;
}

.context-item:active {
    background: #e6f3ff;
}

.context-separator {
    height: 1px;
    background: #e0e0e0;
    margin: 4px 8px;
}

.desktop-icon img {
    width: 56px;
    height: 56px;
    margin-bottom: 10px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
    transition: all 0.3s ease;
}

.desktop-icon i {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
    transition: all 0.3s ease;
}



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

.desktop-icon span {
    font-size: 13px;
    text-align: center;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Windows */
.window {
    position: absolute;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    box-shadow: 0 16px 64px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.2);
    min-width: 600px;
    min-height: 400px;
    display: none;
    animation: windowOpen 0.3s ease-out;
}

@keyframes windowOpen {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.window.active {
    display: block;
    z-index: 1000;
}

.window.maximized {
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: calc(100vh - 48px) !important;
}

.window.maximized .window-header {
    border-radius: 0 !important;
}

.window-header {
    background: rgba(240,240,240,0.9);
    backdrop-filter: blur(10px);
    border-radius: 12px 12px 0 0;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(221,221,221,0.5);
    cursor: move;
}

.window-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
}

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

.window-controls button {
    width: 20px;
    height: 20px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    transition: all 0.2s;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.minimize {
    background: #ffbd2e;
}

.minimize:hover {
    background: #ff9500;
}

.maximize {
    background: #28ca42;
}

.maximize:hover {
    background: #1aad34;
}

.window.maximized .maximize i {
    transform: rotate(45deg);
}

.close {
    background: #ff5f56;
    color: white;
}

.close:hover {
    background: #e0443e;
}

.window-controls button:hover {
    opacity: 0.8;
}

/* Brave Window */
.brave-window {
    top: 50px;
    left: 100px;
    width: 900px;
    height: 600px;
}

.brave-tabs {
    background: #dee1e6;
    display: flex;
    align-items: flex-end;
    padding: 0 8px;
    border-bottom: 1px solid #bbb;
}

.tab {
    background: #f1f3f4;
    border: 1px solid #bbb;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    margin-right: 2px;
    min-width: 200px;
    position: relative;
}

.tab.active {
    background: white;
    border-bottom: 1px solid white;
    margin-bottom: -1px;
}

.tab i {
    font-size: 14px;
}

.tab span {
    font-size: 13px;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tab-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px 4px;
    border-radius: 50%;
    font-size: 16px;
    line-height: 1;
}

.tab-close:hover {
    background: #e0e0e0;
}

.new-tab {
    background: none;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 4px;
}

.new-tab:hover {
    background: rgba(0,0,0,0.1);
}

.brave-toolbar {
    background: white;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid #e0e0e0;
}

.navigation {
    display: flex;
    gap: 4px;
}

.nav-btn {
    background: none;
    border: none;
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    color: #5f6368;
}

.nav-btn:hover {
    background: #f1f3f4;
}

.address-bar {
    flex: 1;
    display: flex;
    align-items: center;
    background: #f1f3f4;
    border-radius: 24px;
    padding: 8px 16px;
    gap: 8px;
}

.address-bar input {
    flex: 1;
    border: none;
    background: none;
    outline: none;
    font-size: 14px;
    cursor: text;
}

.address-bar input:focus {
    background: white;
    border-radius: 4px;
    padding: 2px 4px;
}

.address-bar i {
    color: #5f6368;
}

.menu-btn {
    background: none;
    border: none;
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    color: #5f6368;
}

.menu-btn:hover {
    background: #f1f3f4;
}

.brave-content {
    height: calc(100% - 120px);
    background: white;
    position: relative;
    overflow: hidden;
}

.webpage {
    padding: 40px;
    text-align: center;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-homepage {
    max-width: 600px;
    width: 100%;
}

.brave-logo h1 {
    color: #333;
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: 300;
}

.homepage-search {
    margin-bottom: 40px;
}

.search-container {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 24px;
    padding: 12px 20px;
    transition: all 0.3s ease;
    max-width: 500px;
    margin: 0 auto;
}

.search-container:focus-within {
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.search-container i {
    color: #6c757d;
    margin-right: 12px;
}

.search-container input {
    flex: 1;
    border: none;
    background: none;
    outline: none;
    font-size: 16px;
    color: #333;
}

.search-container input::placeholder {
    color: #6c757d;
}

#search-btn {
    background: #ff6b35;
    border: none;
    color: white;
    padding: 8px 12px;
    border-radius: 50%;
    cursor: pointer;
    margin-left: 8px;
    transition: all 0.2s;
}

#search-btn:hover {
    background: #e55a2b;
    transform: scale(1.05);
}

.quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    max-width: 500px;
    margin: 0 auto;
}

.quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.quick-link:hover {
    background: #e9ecef;
    border-color: #ff6b35;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.quick-link i {
    font-size: 24px;
    margin-bottom: 8px;
    color: #495057;
}

.quick-link span {
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
}

.quick-link[data-url*="github"] i { color: #333; }
.quick-link[data-url*="codepen"] i { color: #000; }
.quick-link[data-url*="stackoverflow"] i { color: #f48024; }
.quick-link[data-url*="youtube"] i { color: #ff0000; }

#brave-iframe {
    display: none;
}

.loading-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #ff6b35;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.tab.loading::after {
    content: '';
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #666;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}



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

/* This PC Window */
.thispc-window {
    top: 60px;
    left: 150px;
    width: 800px;
    height: 500px;
}

.thispc-content {
    height: calc(100% - 49px);
    background: white;
    display: flex;
    flex-direction: column;
}

.thispc-toolbar {
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.address-path {
    flex: 1;
    background: white;
    border: 1px solid #ccc;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
}

.thispc-main {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.quick-access {
    margin-bottom: 24px;
}

.quick-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.quick-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.quick-item:hover {
    background: #e9ecef;
    border-color: #0078d4;
}

.quick-item i {
    font-size: 32px;
    color: #0078d4;
    margin-bottom: 8px;
}

.quick-item span {
    font-size: 12px;
    color: #333;
    text-align: center;
}

.drive-bar {
    width: 100%;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    margin-top: 4px;
    overflow: hidden;
}

.drive-used {
    height: 100%;
    background: #0078d4;
    border-radius: 2px;
}

.recycle-window {
    top: 80px;
    left: 180px;
    width: 700px;
    height: 500px;
}

.recycle-content {
    height: calc(100% - 49px);
    background: white;
    display: flex;
    flex-direction: column;
}

.recycle-toolbar {
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    padding: 8px 16px;
    display: flex;
    gap: 8px;
}

.recycle-items {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.empty-recycle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    color: #666;
}

.empty-recycle h3 {
    margin: 0 0 8px 0;
    color: #333;
}

.empty-recycle p {
    margin: 0;
    font-size: 14px;
}

.recycle-item {
    display: flex;
    align-items: center;
    padding: 12px;
    border: 1px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 4px;
    transition: all 0.2s;
}

.recycle-item:hover {
    background: #f0f0f0;
    border-color: #0078d4;
}

.recycle-item.selected {
    background: rgba(0, 120, 212, 0.1);
    border-color: #0078d4;
}

.recycle-item i {
    font-size: 24px;
    margin-right: 12px;
    color: #666;
}

.recycle-item-info {
    flex: 1;
}

.recycle-item-info .name {
    font-weight: 500;
    color: #333;
    margin-bottom: 2px;
}

.recycle-item-info .details {
    font-size: 12px;
    color: #666;
}

.drives-section h3 {
    color: #333;
    margin-bottom: 16px;
    font-size: 16px;
}

.drives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 200px);
    gap: 16px;
}

.drive-item {
    display: flex;
    align-items: center;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.drive-item:hover {
    background: #f0f0f0;
    border-color: #0078d4;
}

.drive-item i {
    font-size: 32px;
    color: #666;
    margin-right: 12px;
}

.drive-info span {
    display: block;
    color: #333;
    font-size: 13px;
    font-weight: 500;
}

.drive-info small {
    display: block;
    color: #666;
    font-size: 11px;
}

/* Portfolio Window */
.portfolio-window {
    top: 70px;
    left: 120px;
    width: 800px;
    height: 600px;
}

.portfolio-content {
    height: calc(100% - 49px);
    background: white;
    display: flex;
    flex-direction: column;
}

.portfolio-nav {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    padding: 0;
}

.nav-item {
    background: none;
    border: none;
    padding: 16px 24px;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
    font-weight: 500;
}

.nav-item:hover {
    background: #e9ecef;
    color: #333;
}

.nav-item.active {
    color: #0078d4;
    border-bottom-color: #0078d4;
    background: white;
}

.portfolio-sections {
    flex: 1;
    overflow-y: auto;
    position: relative;
}

.section {
    display: none;
    padding: 32px;
    animation: fadeIn 0.3s ease;
}

.section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.section h2 {
    color: #333;
    margin-bottom: 24px;
    font-size: 24px;
    font-weight: 600;
}

.profile-card {
    display: flex;
    gap: 24px;
    align-items: center;
    background: #f8f9fa;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
}

.profile-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-avatar i {
    font-size: 80px;
    color: #0078d4;
}

.profile-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #0078d4;
}

.profile-info h3 {
    color: #333;
    font-size: 20px;
    margin-bottom: 8px;
}

.profile-info .title {
    color: #0078d4;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.profile-info p {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: all 0.2s;
    cursor: pointer;
}

.skill-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: #0078d4;
}

.skill-item i {
    font-size: 32px;
    margin-bottom: 12px;
    color: #0078d4;
}

.skill-item span {
    color: #333;
    font-weight: 500;
    font-size: 14px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.project-card {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.2s;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: #0078d4;
}

.project-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.project-header i {
    font-size: 24px;
    color: #0078d4;
}

.project-header h3 {
    color: #333;
    font-size: 16px;
    margin: 0;
}

.project-card p {
    color: #666;
    line-height: 1.5;
    margin-bottom: 16px;
    font-size: 14px;
}

.project-tech {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.project-tech span {
    background: #0078d4;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
}

.project-status {
    margin-top: 12px;
}

.status-working {
    background: #28a745;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    display: inline-block;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.2s;
    cursor: pointer;
}

.contact-item:hover {
    background: #e9ecef;
    border-color: #0078d4;
}

.contact-item i {
    font-size: 20px;
    color: #0078d4;
    width: 24px;
    text-align: center;
}

.contact-item span {
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

.experience-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.experience-card {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.2s;
}

.experience-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: #0078d4;
}

.experience-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.company-logo {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.experience-info h3 {
    color: #333;
    font-size: 18px;
    margin: 0 0 4px 0;
}

.experience-info h4 {
    color: #0078d4;
    font-size: 16px;
    margin: 0 0 4px 0;
    font-weight: 600;
}

.experience-duration {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.experience-description p {
    color: #666;
    line-height: 1.5;
    margin-bottom: 16px;
    font-size: 14px;
}

.experience-tech {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.experience-tech span {
    background: #0078d4;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
}

.qualification-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.qualification-card {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.qualification-icon {
    width: 50px;
    height: 50px;
    background: #0078d4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.qualification-info h3 {
    color: #333;
    font-size: 18px;
    margin: 0 0 8px 0;
    font-weight: 600;
}

.qualification-info h4 {
    color: #0078d4;
    font-size: 16px;
    margin: 0 0 8px 0;
    font-weight: 500;
}

.qualification-year {
    color: #28a745;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

.qualification-details {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* Recycle Bin Window */
.recycle-window {
    top: 80px;
    left: 180px;
    width: 600px;
    height: 400px;
}

.recycle-content {
    height: calc(100% - 49px);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-recycle {
    text-align: center;
    color: #666;
}

.empty-recycle h3 {
    margin-bottom: 8px;
    color: #333;
}

.empty-recycle p {
    font-size: 14px;
}

/* File Explorer */
.explorer-window {
    top: 80px;
    left: 200px;
    width: 800px;
    height: 500px;
}

.explorer-content {
    display: flex;
    flex-direction: column;
    height: calc(100% - 49px);
}

.explorer-main {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.sidebar {
    width: 200px;
    background: #f8f9fa;
    border-right: 1px solid #e0e0e0;
    padding: 16px 0;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 14px;
}

.sidebar-item:hover {
    background: #e9ecef;
}

.sidebar-item i {
    width: 16px;
    color: #666;
}

.main-content {
    flex: 1;
    padding: 16px;
    display: grid;
    grid-template-columns: repeat(auto-fill, 100px);
    gap: 16px;
    align-content: start;
    overflow-y: auto;
    max-height: calc(100vh - 200px);
}

.file-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
}

.file-item:hover {
    background: #f0f0f0;
}

.file-item i {
    font-size: 32px;
    margin-bottom: 8px;
    color: #666;
}

.file-item span {
    font-size: 12px;
    word-break: break-word;
}

.file-item.selected {
    background: rgba(0, 120, 212, 0.2);
    border: 1px solid rgba(0, 120, 212, 0.5);
}

.file-item.folder {
    cursor: pointer;
}

.file-item.file {
    cursor: default;
}

.empty-folder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: #666;
    text-align: center;
}

.empty-folder p {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
}

.empty-folder small {
    margin-top: 8px;
    font-size: 12px;
    opacity: 0.7;
}

.explorer-toolbar {
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    padding: 8px 16px;
    display: flex;
    gap: 8px;
}

.toolbar-btn {
    background: white;
    border: 1px solid #ccc;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s;
}

.toolbar-btn:hover {
    background: #f0f0f0;
    border-color: #0078d4;
}

.folder-content {
    padding: 16px;
    height: calc(100% - 49px);
    overflow-y: auto;
}

.desktop-icon.folder-icon i,
.desktop-icon.file-icon i {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-item.folder i {
    color: #FFD700;
}

.file-item.file i {
    color: #4A90E2;
}

.file-item input.rename-input {
    background: white;
    border: 1px solid #0078d4;
    outline: none;
    padding: 2px 4px;
    border-radius: 2px;
    font-size: 12px;
    text-align: center;
}

/* Notepad Window */
.notepad-window {
    top: 80px;
    left: 200px;
    width: 600px;
    height: 400px;
}

.notepad-content {
    height: calc(100% - 49px);
    padding: 0;
}

.notepad-textarea {
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    padding: 16px;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.4;
    resize: none;
    background: white;
}

/* Delete Dialog */
.delete-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5000;
}

.dialog-content {
    background: white;
    border-radius: 8px;
    width: 400px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    overflow: hidden;
}

.dialog-header {
    background: #f0f0f0;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #e0e0e0;
}

.dialog-header i {
    color: #ff9500;
    font-size: 16px;
}

.dialog-header span {
    font-weight: 500;
    color: #333;
}

.dialog-body {
    padding: 20px 16px;
}

.dialog-body p {
    color: #333;
    font-size: 14px;
    margin: 0;
}

.dialog-buttons {
    padding: 12px 16px;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    background: #f8f9fa;
    border-top: 1px solid #e0e0e0;
}

.btn-yes, .btn-no {
    padding: 6px 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
}

.btn-yes {
    background: #0078d4;
    color: white;
    border-color: #0078d4;
}

.btn-yes:hover {
    background: #106ebe;
}

.btn-no {
    background: white;
    color: #333;
}

.btn-no:hover {
    background: #f0f0f0;
}

/* Properties Dialog */
.properties-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5000;
}

.properties-content {
    background: white;
    border-radius: 8px;
    width: 400px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    overflow: hidden;
}

.properties-header {
    background: #f0f0f0;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
}

.properties-header i {
    color: #0078d4;
    font-size: 16px;
}

.properties-header span {
    font-weight: 500;
    color: #333;
    flex: 1;
}

.properties-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    color: #666;
}

.properties-close:hover {
    background: #e0e0e0;
    color: #333;
}

.properties-body {
    padding: 20px;
    display: flex;
    gap: 16px;
}

.properties-icon {
    display: flex;
    align-items: flex-start;
}

.properties-icon i {
    font-size: 48px;
    color: #FFD700;
}

.properties-icon i.fa-file {
    color: #4A90E2;
}

.properties-icon i.fa-trash {
    color: #666;
}

.properties-info {
    flex: 1;
}

.property-row {
    display: flex;
    margin-bottom: 12px;
    align-items: center;
}

.property-row label {
    font-weight: 500;
    color: #333;
    min-width: 80px;
    font-size: 13px;
}

.property-row span {
    color: #666;
    font-size: 13px;
    word-break: break-all;
}

.properties-footer {
    padding: 12px 20px;
    display: flex;
    justify-content: flex-end;
    background: #f8f9fa;
    border-top: 1px solid #e0e0e0;
}

.btn-ok {
    padding: 6px 20px;
    background: #0078d4;
    color: white;
    border: 1px solid #0078d4;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
}

.btn-ok:hover {
    background: #106ebe;
}

/* Clock Popup */
.clock-widget {
    padding: 16px;
    min-width: 300px;
}

.digital-clock {
    text-align: center;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e0e0e0;
}

.clock-time {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 4px;
}

.clock-date {
    font-size: 14px;
    color: #666;
}

.calendar-mini {
    font-size: 12px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.calendar-nav {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    color: #0078d4;
}

.calendar-nav:hover {
    background: #f0f0f0;
}

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

.calendar-day-header {
    text-align: center;
    font-weight: bold;
    padding: 4px;
    color: #666;
}

.calendar-day {
    text-align: center;
    padding: 4px;
    cursor: pointer;
    border-radius: 3px;
}

.calendar-day:hover:not(.empty) {
    background: #f0f0f0;
}

.calendar-day.today {
    background: #0078d4;
    color: white;
}

.calendar-day.empty {
    cursor: default;
}

.calendar-day.prev-month,
.calendar-day.next-month {
    color: #ccc;
    cursor: pointer;
}

.calendar-day.prev-month:hover,
.calendar-day.next-month:hover {
    background: #f0f0f0;
    color: #666;
}

.calendar-day.current-month {
    cursor: pointer;
}

.calendar-day.weekend {
    color: #dc3545;
}

.calendar-day.selected {
    background: #e3f2fd;
    border: 1px solid #0078d4;
    color: #0078d4;
    font-weight: bold;
}

.selected-date-info {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e0e0e0;
}

.selected-date-display h4 {
    margin: 0 0 8px 0;
    color: #333;
    font-size: 14px;
    font-weight: 600;
}

.selected-date-display p {
    margin: 4px 0;
    color: #333;
    font-size: 13px;
}

.selected-date-display small {
    color: #666;
    font-size: 11px;
    font-style: italic;
}

/* Power Menu */
.power-menu {
    position: fixed;
    bottom: 60px;
    left: 16px;
    z-index: 5000;
}

.power-menu-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    border: 1px solid rgba(0,0,0,0.1);
    min-width: 150px;
}

.power-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s;
    color: #333;
    font-size: 14px;
}

.power-option:hover {
    background: #f0f8ff;
    color: #0078d4;
}

.power-option i {
    width: 16px;
    text-align: center;
}

/* WiFi Improvements */
.wifi-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e0e0e0;
}

.wifi-btn {
    flex: 1;
    padding: 6px 12px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s;
}

.wifi-btn:hover {
    background: #f0f0f0;
    border-color: #0078d4;
}

/* Taskbar */
.taskbar {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 48px;
    background: linear-gradient(135deg, #2c3e50, #34495e) !important;
    backdrop-filter: blur(10px);
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 16px;
    z-index: 9999 !important;
    border-top: 1px solid rgba(255,255,255,0.1);
    visibility: visible !important;
    opacity: 1 !important;
}

.start-button {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 6px;
    color: white;
    font-size: 20px;
    transition: all 0.2s;
    margin-right: 8px;
}

.start-button:hover {
    background: rgba(255,255,255,0.1);
}

.search-box {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 8px 16px;
    gap: 8px;
    width: 240px;
    height: 32px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.2s;
    margin-right: 8px;
}

.search-box:focus-within {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.3);
}

.search-box i {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.search-box input {
    background: none;
    border: none;
    outline: none;
    color: white;
    flex: 1;
    font-size: 14px;
}

.search-box input::placeholder {
    color: rgba(255,255,255,0.5);
}

.taskbar-apps {
    display: flex;
    gap: 0;
    align-items: center;
}

.taskbar-app {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 8px;
    position: relative;
    transition: all 0.2s;
    margin: 0 2px;
}

.taskbar-app:hover {
    background: rgba(255,255,255,0.1);
}

.taskbar-app.active {
    background: rgba(255,255,255,0.15);
}

.taskbar-app img {
    width: 24px;
    height: 24px;
}

.taskbar-app.active::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: #0078d4;
    border-radius: 1px;
}

.system-tray {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tray-icons {
    display: flex;
    gap: 4px;
    color: white;
    margin-right: 8px;
}

.tray-icons i {
    padding: 8px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
    font-size: 14px;
}

.tray-icons i:hover {
    background: rgba(255,255,255,0.1);
}

.datetime {
    color: white;
    font-size: 13px;
    text-align: center;
    line-height: 1.3;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.2s;
    min-width: 80px;
}

.datetime:hover {
    background: rgba(255,255,255,0.1);
}

.time {
    font-weight: 500;
}

.date {
    opacity: 0.8;
}

/* Start Menu */
.start-menu {
    position: fixed;
    bottom: 48px;
    left: 8px;
    width: 500px;
    height: 450px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    display: none;
    flex-direction: column;
    z-index: 3000;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    border: 1px solid rgba(0,0,0,0.1);
}

.start-menu.active {
    display: flex;
}

.start-search {
    padding: 16px 16px 12px;
}

.start-search input {
    width: 100%;
    padding: 12px 16px;
    background: #f3f3f3;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    color: #333;
    font-size: 14px;
    outline: none;
}

.start-search input:focus {
    border-color: #0078d4;
    background: white;
}

.start-search input::placeholder {
    color: #666;
}

.start-section {
    padding: 0 16px 16px;
}

.start-section h3 {
    color: #333;
    font-size: 14px;
    margin-bottom: 12px;
    font-weight: 600;
}

.start-apps {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}

.start-app {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 6px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    color: #333;
    text-align: center;
}

.start-app:hover {
    background: #f0f0f0;
}

.start-app img {
    width: 28px;
    height: 28px;
    margin-bottom: 6px;
}

.start-app i {
    font-size: 28px;
    margin-bottom: 6px;
    color: #0078d4;
}

.start-app span {
    font-size: 10px;
    text-align: center;
    word-wrap: break-word;
}

.start-recent {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.recent-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    color: #333;
}

.recent-item:hover {
    background: #f0f0f0;
}

.recent-item i {
    font-size: 20px;
    margin-right: 12px;
    color: #0078d4;
}

.recent-info {
    display: flex;
    flex-direction: column;
}

.recent-info span {
    font-size: 13px;
    font-weight: 500;
}

.recent-info small {
    font-size: 11px;
    color: #666;
}

.start-footer {
    margin-top: auto;
    padding: 12px 16px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #333;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.2s;
}

.user-profile:hover {
    background: #f0f0f0;
}

.user-profile i {
    font-size: 24px;
    color: #0078d4;
}

.power-button {
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.power-button:hover {
    background: #f0f0f0;
}

.power-button i {
    font-size: 18px;
    color: #333;
}

/* System Tray Popups */
.tray-popup {
    position: absolute;
    bottom: 60px;
    right: 16px;
    width: 280px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    border: 1px solid rgba(0,0,0,0.1);
    display: none;
    z-index: 4000;
}

.tray-popup.active {
    display: block;
}

.tray-popup h4 {
    color: #333;
    font-size: 14px;
    margin-bottom: 12px;
    font-weight: 600;
}

.wifi-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.wifi-toggle {
    position: relative;
}

.wifi-toggle input {
    display: none;
}

.wifi-toggle label {
    width: 40px;
    height: 20px;
    background: #ccc;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
}

.wifi-toggle input:checked + label {
    background: #0078d4;
}

.wifi-toggle label::after {
    content: '';
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: all 0.3s;
}

.wifi-toggle input:checked + label::after {
    left: 22px;
}

.network-list {
    margin-bottom: 16px;
}

.network-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 8px;
    border: 1px solid transparent;
}

.network-item:hover {
    background: #f0f0f0;
}

.network-item.connected {
    background: #e3f2fd;
    border-color: #0078d4;
}

.network-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.network-info i {
    color: #0078d4;
    font-size: 16px;
}

.network-info div span {
    display: block;
    color: #333;
    font-size: 13px;
    font-weight: 500;
}

.network-info div small {
    display: block;
    color: #666;
    font-size: 11px;
}

.properties-btn {
    background: none;
    border: 1px solid #0078d4;
    color: #0078d4;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    cursor: pointer;
}

.properties-btn:hover {
    background: #0078d4;
    color: white;
}

.signal-strength {
    display: flex;
    align-items: center;
}

.signal-bars {
    display: flex;
    gap: 2px;
    align-items: flex-end;
}

.bar {
    width: 3px;
    background: #ccc;
    border-radius: 1px;
}

.bar:nth-child(1) { height: 4px; }
.bar:nth-child(2) { height: 6px; }
.bar:nth-child(3) { height: 8px; }
.bar:nth-child(4) { height: 10px; }

.bar.active {
    background: #0078d4;
}

.wifi-footer {
    border-top: 1px solid #e0e0e0;
    padding-top: 12px;
}

.wifi-options {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0078d4;
    cursor: pointer;
    font-size: 12px;
}

.wifi-options:hover {
    text-decoration: underline;
    cursor: pointer;
}

.disconnect-btn {
    background: #dc3545;
    border: none;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    cursor: pointer;
}

.disconnect-btn:hover {
    background: #c82333;
}

/* Password Modal */
.password-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 5000;
}

.password-modal.active {
    display: flex;
}

.modal-content {
    background: white;
    padding: 24px;
    border-radius: 8px;
    width: 400px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.modal-content h3 {
    color: #333;
    margin-bottom: 16px;
    font-size: 16px;
}

.modal-content p {
    color: #666;
    margin-bottom: 16px;
    font-size: 14px;
}

.modal-content input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.cancel-btn {
    background: #f0f0f0;
    border: 1px solid #ccc;
    color: #333;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
}

.connect-btn {
    background: #0078d4;
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
}

.connect-btn:hover {
    background: #106ebe;
}

.cancel-btn:hover {
    background: #e0e0e0;
}

/* Add Network Modal */
.add-network-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5000;
}

.add-network-modal .modal-content {
    background: white;
    border-radius: 8px;
    width: 450px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    overflow: hidden;
}

.add-network-modal .modal-header {
    background: #f8f9fa;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
}

.add-network-modal .modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 16px;
    font-weight: 600;
}

.add-network-modal .modal-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #666;
    padding: 4px 8px;
    border-radius: 4px;
}

.add-network-modal .modal-close:hover {
    background: #e0e0e0;
    color: #333;
}

.add-network-modal .modal-body {
    padding: 20px;
}

.add-network-modal .modal-body label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    font-size: 14px;
}

.add-network-modal .modal-body input,
.add-network-modal .modal-body select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 16px;
    transition: border-color 0.2s;
}

.add-network-modal .modal-body input:focus,
.add-network-modal .modal-body select:focus {
    outline: none;
    border-color: #0078d4;
    box-shadow: 0 0 0 2px rgba(0, 120, 212, 0.2);
}

.security-options {
    margin-top: 8px;
}

.add-network-modal .modal-actions {
    padding: 16px 20px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    background: #f8f9fa;
    border-top: 1px solid #e0e0e0;
}

.add-network-modal .add-btn {
    background: #0078d4;
    border: none;
    color: white;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.add-network-modal .add-btn:hover {
    background: #106ebe;
}

.add-network-modal .cancel-btn {
    background: #f0f0f0;
    border: 1px solid #ccc;
    color: #333;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s;
}

.add-network-modal .cancel-btn:hover {
    background: #e0e0e0;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 12px;
}

.volume-control i {
    color: #0078d4;
}

.volume-control input {
    flex: 1;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    outline: none;
    -webkit-appearance: none;
}

.volume-control input::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: #0078d4;
    border-radius: 50%;
    cursor: pointer;
}

.volume-control span {
    color: #333;
    font-size: 13px;
    min-width: 30px;
}

.battery-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.battery-info i {
    color: #0078d4;
    font-size: 20px;
}

.battery-info div span {
    display: block;
    color: #333;
    font-size: 13px;
    font-weight: 500;
}

.battery-info div small {
    display: block;
    color: #666;
    font-size: 11px;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        padding-bottom: 60px;
    }
    
    .desktop {
        height: calc(100vh - 60px);
        overflow-x: hidden;
        padding-bottom: 0;
    }
    
    .desktop-icons {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
        padding: 15px;
        justify-items: center;
    }
    
    .desktop-icon {
        padding: 8px;
        width: 70px;
        text-align: center;
    }
    
    .desktop-icon img {
        width: 40px;
        height: 40px;
        margin-bottom: 6px;
    }
    
    .desktop-icon i {
        font-size: 40px !important;
        width: 40px;
        height: 40px;
        margin-bottom: 6px;
    }
    
    .desktop-icon span {
        font-size: 10px;
        line-height: 1.2;
        word-break: break-word;
    }
    
    .window {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: calc(100vh - 60px) !important;
        border-radius: 0 !important;
        min-width: unset;
        max-width: 100vw;
        overflow: hidden;
    }
    
    .window-header {
        border-radius: 0 !important;
        padding: 8px 16px;
        height: 44px;
        min-height: 44px;
    }
    
    .window-title {
        font-size: 14px;
    }
    
    .window-controls {
        gap: 4px;
    }
    
    .window-controls button {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .brave-window {
        width: 100vw !important;
        height: calc(100vh - 60px) !important;
    }
    
    .brave-tabs {
        padding: 0 4px;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .brave-tabs::-webkit-scrollbar {
        display: none;
    }
    
    .tab {
        min-width: 120px;
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .brave-toolbar {
        padding: 6px 12px;
        gap: 8px;
    }
    
    .address-bar {
        padding: 6px 12px;
        border-radius: 20px;
    }
    
    .address-bar input {
        font-size: 14px;
    }
    
    .quick-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        max-width: 100%;
    }
    
    .quick-link {
        padding: 16px 12px;
    }
    
    .thispc-window {
        width: 100vw !important;
        height: calc(100vh - 60px) !important;
    }
    
    .thispc-main {
        padding: 16px;
    }
    
    .quick-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .drives-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .portfolio-window {
        width: 100vw !important;
        height: calc(100vh - 60px) !important;
    }
    
    .portfolio-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 0;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .portfolio-nav::-webkit-scrollbar {
        display: none;
    }
    
    .nav-item {
        padding: 12px 16px;
        font-size: 12px;
        white-space: nowrap;
        min-width: fit-content;
        border-bottom: 2px solid transparent;
    }
    
    .section {
        padding: 16px;
        overflow-y: auto;
        height: calc(100% - 60px);
    }
    
    .section h2 {
        font-size: 20px;
        margin-bottom: 16px;
    }
    
    .profile-card {
        flex-direction: column;
        text-align: center;
        padding: 16px;
        gap: 16px;
    }
    
    .profile-avatar i {
        font-size: 60px;
    }
    
    .profile-photo {
        width: 60px;
        height: 60px;
    }
    
    .profile-info h3 {
        font-size: 18px;
    }
    
    .profile-info .title {
        font-size: 14px;
    }
    
    .profile-info p {
        font-size: 13px;
        line-height: 1.5;
    }
    
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .skill-item {
        padding: 16px 12px;
    }
    
    .skill-item i {
        font-size: 28px;
    }
    
    .skill-item span {
        font-size: 12px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .project-card {
        padding: 16px;
    }
    
    .project-header h3 {
        font-size: 15px;
    }
    
    .project-card p {
        font-size: 13px;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .contact-item {
        padding: 12px;
    }
    
    .experience-card {
        padding: 16px;
    }
    
    .experience-header {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .company-logo {
        width: 50px;
        height: 50px;
    }
    
    .experience-info h3 {
        font-size: 16px;
    }
    
    .experience-info h4 {
        font-size: 14px;
    }
    
    .qualification-card {
        flex-direction: column;
        text-align: center;
        padding: 16px;
        gap: 12px;
    }
    
    .qualification-icon {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
    
    .qualification-info h3 {
        font-size: 16px;
    }
    
    .qualification-info h4 {
        font-size: 14px;
    }
    
    .taskbar {
        height: 60px;
        padding: 0 8px;
        flex-wrap: nowrap;
        overflow-x: auto;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 9999 !important;
        display: flex !important;
        background: linear-gradient(135deg, #2c3e50, #34495e) !important;
    }
    
    .start-button {
        width: 40px;
        height: 40px;
        font-size: 18px;
        flex-shrink: 0;
    }
    
    .search-box {
        width: 100px;
        height: 28px;
        padding: 4px 12px;
        font-size: 12px;
        flex-shrink: 1;
        min-width: 80px;
    }
    
    .taskbar-apps {
        gap: 2px;
        flex-shrink: 0;
    }
    
    .taskbar-app {
        width: 40px;
        height: 40px;
    }
    
    .taskbar-app img {
        width: 20px;
        height: 20px;
    }
    
    .system-tray {
        gap: 4px;
        flex-shrink: 0;
    }
    
    .tray-icons {
        gap: 2px;
    }
    
    .tray-icons i {
        padding: 6px;
        font-size: 12px;
    }
    
    .datetime {
        font-size: 11px;
        padding: 6px 8px;
        min-width: 60px;
    }
    
    .start-menu {
        width: calc(100vw - 16px);
        height: calc(100vh - 120px);
        left: 8px;
        right: 8px;
    }
    
    .start-apps {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }
    
    .start-app {
        padding: 12px 8px;
    }
    
    .start-app img {
        width: 24px;
        height: 24px;
    }
    
    .start-app i {
        font-size: 24px;
    }
    
    .start-app span {
        font-size: 9px;
    }
    
    .tray-popup {
        width: calc(100vw - 32px);
        right: 16px;
        left: 16px;
    }
    
    .music-window {
        width: 100vw !important;
        height: calc(100vh - 60px) !important;
    }
    
    .music-content {
        padding: 16px;
    }
    
    .music-header h2 {
        font-size: 20px;
    }
    
    .current-track {
        padding: 16px;
    }
    
    .track-cover {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .track-details h3 {
        font-size: 16px;
    }
    
    .music-controls button {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }
    
    #play-btn {
        width: 54px;
        height: 54px;
        font-size: 20px;
    }
    
    .track-list {
        max-height: 200px;
    }
    
    .track-item {
        padding: 8px;
        gap: 12px;
    }
    
    .track-name {
        font-size: 13px;
    }
    
    .track-artist {
        font-size: 11px;
    }
    
    #floating-player {
        width: calc(100vw - 40px);
        right: 20px;
        left: 20px;
        bottom: 70px;
    }
    
    .minimize, .maximize {
        display: none;
    }
    
    .fullscreen {
        display: none;
    }
}

@media (max-width: 480px) {
    body {
        padding-bottom: 60px !important;
    }
    
    .desktop {
        height: calc(100vh - 60px) !important;
    }
    
    .desktop-icons {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        padding: 12px;
    }
    
    .desktop-icon {
        width: 60px;
    }
    
    .desktop-icon img {
        width: 36px;
        height: 36px;
    }
    
    .desktop-icon i {
        font-size: 36px !important;
        width: 36px;
        height: 36px;
    }
    
    .desktop-icon span {
        font-size: 9px;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-links {
        grid-template-columns: 1fr;
    }
    
    .quick-items {
        grid-template-columns: 1fr;
    }
    
    .search-box {
        display: none;
    }
    
    .start-apps {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .nav-item {
        padding: 10px 12px;
        font-size: 11px;
    }
    
    .section {
        padding: 12px;
    }
    
    .profile-card {
        padding: 12px;
    }
    
    .skill-item {
        padding: 12px;
    }
    
    .project-card {
        padding: 12px;
    }
    
    .contact-item {
        padding: 10px;
    }
    
    .experience-card {
        padding: 12px;
    }
    
    .qualification-card {
        padding: 12px;
    }
    
    .taskbar {
        padding: 0 4px;
        height: 60px !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 9999 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        background: linear-gradient(135deg, #2c3e50, #34495e) !important;
        border-top: 1px solid rgba(255,255,255,0.1) !important;
    }
    
    .start-button {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .taskbar-app {
        width: 36px;
        height: 36px;
    }
    
    .taskbar-app img {
        width: 18px;
        height: 18px;
    }
    
    .datetime {
        font-size: 10px;
        padding: 4px 6px;
        min-width: 50px;
    }
    
    .tray-icons i {
        padding: 4px;
        font-size: 11px;
    }
}


/* Music Player Styles */
.music-window {
    width: 400px;
    height: 600px;
}

.music-content {
    padding: 20px;
    height: calc(100% - 40px);
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    flex-direction: column;
}

.music-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.music-header h2 {
    margin: 0;
    font-size: 24px;
}

.load-btn {
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.load-btn:hover {
    background: #ff5252;
    transform: translateY(-2px);
}

.load-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.current-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.track-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.track-cover {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.track-details h3 {
    margin: 0 0 5px 0;
    font-size: 18px;
}

.track-details p {
    margin: 0;
    opacity: 0.8;
    font-size: 14px;
}

.music-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
}

.music-controls button {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.music-controls button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

#play-btn {
    width: 60px;
    height: 60px;
    font-size: 24px;
    background: #ff6b6b;
}

#play-btn:hover {
    background: #ff5252;
}

.music-controls button.active {
    background: #ff6b6b;
}

.progress-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    cursor: pointer;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: #ff6b6b;
    width: 0%;
    transition: width 0.1s ease;
}

.progress-container span {
    font-size: 12px;
    min-width: 35px;
    text-align: center;
}

.volume-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
}

.volume-container i {
    font-size: 16px;
}

#volume-slider {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    outline: none;
    -webkit-appearance: none;
}

#volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: #ff6b6b;
    border-radius: 50%;
    cursor: pointer;
}

#volume-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: #ff6b6b;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.playlist {
    margin-top: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.playlist h3 {
    margin: 0 0 15px 0;
    font-size: 18px;
}

.track-list {
    max-height: 250px;
    overflow-y: auto;
    flex: 1;
}

.track-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.track-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.track-item.active {
    background: rgba(255, 107, 107, 0.3);
    border-left: 3px solid #ff6b6b;
}

.track-number {
    width: 20px;
    text-align: center;
    font-size: 12px;
    opacity: 0.7;
}

.track-item .track-info {
    flex: 1;
    display: block;
}

.track-name {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 2px;
}

.track-artist {
    font-size: 12px;
    opacity: 0.7;
}

.track-duration {
    font-size: 12px;
    opacity: 0.7;
}

/* Scrollbar styling */
.track-list::-webkit-scrollbar {
    width: 6px;
}

.track-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.track-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.track-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Loading state */
.track-list p {
    text-align: center;
    opacity: 0.7;
    font-style: italic;
    padding: 20px;
}

/* Floating Music Player */
#floating-player {
    position: fixed;
    bottom: 60px;
    right: 20px;
    width: 300px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: none;
    animation: slideInUp 0.3s ease-out;
}

@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.floating-content {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
}

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

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

.floating-artist {
    font-size: 12px;
    opacity: 0.8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.floating-controls {
    display: flex;
    gap: 8px;
    align-items: center;
}

.floating-controls button {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-controls button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

#floating-play {
    background: #ff6b6b !important;
    width: 36px;
    height: 36px;
    font-size: 14px;
}

#floating-close {
    background: rgba(255, 255, 255, 0.1) !important;
    font-size: 10px;
}

#floating-close:hover {
    background: rgba(255, 0, 0, 0.3) !important;
}

/* Force taskbar visibility on mobile */
@media screen and (max-width: 768px) {
    .taskbar {
        display: flex !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100vw !important;
        height: 60px !important;
        z-index: 99999 !important;
        background: linear-gradient(135deg, #2c3e50, #34495e) !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}
/* Hide taskbar on mobile */
@media screen and (max-width: 768px) {
    .taskbar {
        display: none !important;
    }
    
    .desktop {
        height: 100vh !important;
    }
    
    body {
        padding-bottom: 0 !important;
    }
}