        /* General body styling */
        body {
            margin: 0;
            font-family: 'Arial', sans-serif;
            background: linear-gradient(135deg, #1c1c1c, #3d3d3d); /* Gradient background */
            color: #fff;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 20px;
        }

        /* Heading styling */
        h1 {
            margin-bottom: 20px;
            color: #00bcd4;
            text-shadow: 0px 0px 10px rgba(0, 188, 212, 0.8);
        }

        /* Styling the gallery grid */
        .gallery {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Responsive grid */
            gap: 25px; /* Adjusted gap between images */
            width: 100%;
            max-width: 1200px;
            position: relative;
        }

        /* Folder card styling */
        .gallery div {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            background: rgba(0, 0, 0, 0.7);
            border-radius: 10px;
            padding: 25px;
            cursor: pointer;
            border: 2px solid #00bcd4;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            position: relative;
            overflow: hidden;
            width: 250px; /* Folder width */
        }

        /* Hover effect for folder cards */
        .gallery div:hover {
            transform: scale(1.05);
            box-shadow: 0px 10px 20px rgba(0, 188, 212, 0.8);
        }

        /* Folder name styling */
        .folder-name {
            margin: 15px 0;
            text-align: center;
            font-size: 20px;
            cursor: pointer;
            color: aqua;
            width: 70%; /* Reduced width of name box */
        }

        /* Delete button styling */
        .delete {
            background: none;
            border: none;
            color: white;
            cursor: pointer;
            font-size: 14px;
            padding: 5px 10px;
            border-radius: 5px;
            background-color: red;
            position: absolute;
            top: 10px;
            right: 10px;
            transition: background-color 0.3s ease;
        }

        /* Hover effect for delete button */
        .delete:hover {
            background-color: darkred;
        }

        /* Button for file upload */
        .upload-btn {
            background: #00bcd4;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 5px;
            cursor: pointer;
            font-size: 16px;
            margin-top: 10px;
            width: 100%;
            transition: background 0.3s ease;
        }

        /* Hover effect for upload button */
        .upload-btn:hover {
            background-color: #008ba3;
        }

        /* Button for choosing files */
        .choose-file-btn {
            margin-top: 10px;
            padding: 8px 15px;
            background: #00bcd4;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 14px;
            width: 100%;
            text-align: center;
        }
        /* Hover and active effects for choose file button */
        .choose-file-btn:hover {
            background-color: #008ba3;
        }

        .choose-file-btn:active {
            background-color: #006f87;
        }

        /* Image styling within folders */
        .folder-img {
            width: 300px;
            height: 300px;
            object-fit: cover;
            border-radius: 10px;
            margin: 10px;
        }

        /* Fullscreen image styling */
        .fullscreen {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: rgba(0, 0, 0, 0.95);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10;
            visibility: hidden;
            opacity: 0;
            transition: visibility 0s, opacity 0.3s ease;
        }

        /* Active fullscreen view */
        .fullscreen.active {
            visibility: visible;
            opacity: 1;
        }

        /* Image in fullscreen */
        .fullscreen img {
            width: 90%;
            height: 90%;
            object-fit: contain;
            border-radius: 15px;
            border: 3px solid #00bcd4;
            box-shadow: 0px 20px 40px rgba(0, 188, 212, 0.8);
        }

        /* Close button in fullscreen view */
        .fullscreen .close {
            position: absolute;
            top: 20px;
            right: 20px;
            font-size: 35px;
            color: #00bcd4;
            cursor: pointer;
            transition: transform 0.3s ease, color 0.3s ease;
        }

        /* Hover effect for close button */
        .fullscreen .close:hover {
            transform: scale(1.2);
            color: #008ba3;
        }

        /* Back button styling */
        .back-button {
            position: absolute;
            top: 20px;
            left: 20px;
            padding: 10px 20px;
            background: #00bcd4;
            color: #fff;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 16px;
            display: none;
            transition: background 0.3s ease;
        }

        /* Hover effect for back button */
        .back-button:hover {
            background: #008ba3;
        }
        /* Custom class for input text color */
.custom-input {
    color: black; /* Set text color to black */
}


        /* Media query for smaller screens */
        @media (max-width: 600px) {
            .fullscreen .close {
                font-size: 25px;
            }
        }