﻿
/* Overall desktop background */
.desktop-frame {
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
}

/* Icon styling */
.icon-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 10px;
}

.desktop-icon {
    width: 80px;
    text-align: center;
    margin-bottom: 20px;
    cursor: pointer;
    transition: transform 0.3s;
}

    .desktop-icon:hover {
        transform: scale(1.1);
    }

    .desktop-icon p {
        margin: 5px 0;
        color: white;
        font-size: 14px;
        font-family: Arial, sans-serif;
    }

/* Glassmorphism frame style */
.glass-frame {
    position: absolute;
    width: 800px;
    height: 800px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    z-index: 10;
    display: flex;
    flex-direction: column;
}

/* Frame header styling */
.frame-header {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 10px;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: Arial, sans-serif;
}

.frame-close {
    background: rgba(255,255,255,0.3);
    color: #fff;
    border: none;
    padding: 5px 10px;
    border-radius: 8px;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: background 0.3s;
}

    .frame-close:hover {
        background: rgba(255,255,255,0.5);
    }

/* Frame body styling */
.frame-body {
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    overflow: auto;
    flex-grow: 1;
}

.scrollable-content {
    max-height: calc(100% - 50px);
    overflow-y: auto;
}

/* Glass-style taskbar */
.win98-taskbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 999;
}

/* Additional utility styles */
.progress-bar {
    font-weight: bold;
    text-align: left;
    padding-left: 10px;
}

.modal-90w {
    max-width: 90%;
    width: 90%;
    height: 90%;
    margin: 5% auto;
}

.progress {
    position: relative;
}

.progress-label {
    position: absolute;
    width: 100%;
    color: white;
    font-weight: bold;
    text-align: center;
}

/* Glass-card style for inner cards */
.glass-card {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    backdrop-filter: blur(8px);
    margin-bottom: 15px;
}

    .glass-card .card-header {
        background: rgba(255, 255, 255, 0.25);
        padding: 8px;
        border-top-left-radius: 12px;
        border-top-right-radius: 12px;
        font-weight: bold;
        color: #fff;
    }

    .glass-card .card-body {
        padding: 10px;
        color: #fff;
    }

.gallery-frame {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 15px;
    gap: 10px;
    overflow-y: auto;
    max-height: 100vh;
}


.wallpaper-thumbnail {
    width: 180px;
    height: 160px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 20px;
    padding: 10px;
    transition: transform 0.2s;
}

    .wallpaper-thumbnail:hover {
        transform: scale(1.15);
    }

.pagination-controls {
    width: 100%;
    margin-top: 10px;
}

.glass-button {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 10px 20px;
    color: #fff;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: background 0.3s ease, transform 0.1s ease, box-shadow 0.3s ease;
    cursor: pointer;
    outline: none;
}

    .glass-button:hover {
        background: rgba(255, 255, 255, 0.3);
        box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
    }

    .glass-button:active {
        transform: scale(0.98);
        background: rgba(255, 255, 255, 0.15);
        box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
    }

