
        .Organise {
            background-color: #f5f7fa;
            color: #333;
            line-height: 1.6;
        }
        
        .Organise {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }
        .Organise .section-header h2 {
            font-size: 27px;
            font-weight: 700;
            margin: 0;
        }
        /* Search Area */
        .Organise .search-area {
            padding: 20px 0;
            padding-bottom: 0;
            position: sticky;
            top: 0;
            background-color: #f5f7fa;
            /*z-index: 100;*/
            margin-top: 69px;
        }
        
        .Organise .search-container {
            display: flex;
            align-items: center;
            background-color: #fff;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            padding: 10px 15px;
            position: relative;
                width: 100%;
        }
        
        .Organise .search-input, .Organise .search-input-result {
            flex: 1;
            border: none;
            outline: none;
            font-size: 16px;
            margin: 0 10px;
        }
        
        .clear-search {
            cursor: pointer;
            color: #aaa;
            display: none;
        }
        
        /* Main Content */
        .main-content {
            padding-bottom: 80px;
            padding-left: 0;
            padding-right: 0;
            margin-top: 31px;
        }
        
        .section {
            margin-bottom: 30px;
            background-color: #fff;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            padding: 20px;
        }
        
        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .section-title {
            font-size: 27px;
            font-weight: 700;
            color: #333;
        }
        
        .add-new {
            color: #4A6FA5;
            font-weight: 500;
            cursor: pointer;
            font-size: 14px;
        }
        
        /* Recent Files */
        .recent-files {
            display: flex;
            overflow-x: auto;
            gap: 15px;
            padding-bottom: 10px;
        }
        
        .recent-file-item {
            min-width: 140px;
            background-color: #fff;
            border-radius: 8px;
            padding: 15px;
            position: relative;
            cursor: pointer;
            transition: transform 0.2s;
            border: 1px solid #eee;
        }
        
        .recent-file-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        .file-icon {
            width: 40px;
            height: 40px;
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 10px;
        }
        
        .file-name {
            font-weight: 500;
            font-size: 14px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            margin-bottom: 5px;
        }
        
        .file-info {
            font-size: 12px;
            color: #888;
        }
        
        /* Folders */
        .folders {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            gap: 15px;
        }
        
        .folder-item {
            background-color: #fff;
            border-radius: 8px;
            padding: 15px;
            cursor: pointer;
            transition: all 0.2s;
            position: relative;
            border: 1px solid #eee;
        }
        
        .folder-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        .folder-icon {
            width: 40px;
            height: 40px;
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 10px;
        }
        
        .folder-name {
            font-weight: 500;
            font-size: 14px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            margin-bottom: 5px;
        }
        
        .folder-info {
            font-size: 12px;
            color: #888;
        }
        
        /* Files List View */
        .files-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .view-options {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .sort-btn, .view-btn {
            display: flex;
            align-items: center;
            gap: 5px;
            cursor: pointer;
            color: #666;
            font-size: 14px;
        }
        
        .file-list-item {
            display: flex;
            align-items: center;
            padding: 12px;
            border-radius: 8px;
            margin-bottom: 10px;
            cursor: pointer;
            transition: background-color 0.2s;
            position: relative;
            border: 1px solid #eee;
        }
        
        .file-list-item:hover {
            background-color: #f9f9f9;
        }
        
        .file-list-item.selected {
            background-color: rgba(74, 111, 165, 0.1);
            border: 1px solid #4A6FA5;
        }
        
        .file-list-icon {
            width: 40px;
            height: 40px;
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
        }
        
        .file-list-details {
            flex: 1;
            min-width: 0; /* Allow text to truncate */
        }
        
        .file-list-name-container {
            display: flex;
            align-items: center;
        }
        
        .file-list-name {
            font-weight: 500;
            font-size: 14px;
            white-space: nowrap;
            overflow: hidden;  
            text-overflow: ellipsis;
        }
        
        .file-list-info {
            font-size: 12px;
            color: #888;
        }
        
        .file-actions {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        /* Files Grid View */
        .files-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            gap: 15px;
        }
        
        .file-grid-item {
            background-color: #fff;
            border-radius: 8px;
            padding: 15px;
            cursor: pointer;
            transition: all 0.2s;
            position: relative;
            border: 1px solid #eee;
            text-align: center;
        }
        
        .file-grid-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        .file-grid-item.selected {
            background-color: rgba(74, 111, 165, 0.1);
            border: 1px solid #4A6FA5;
        }
        
        .file-grid-icon {
            width: 60px;
            height: 60px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 10px;
        }
        
        .file-grid-details {
            text-align: center;
        }
        
        .file-grid-name {
            font-weight: 500;
            font-size: 14px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            margin-bottom: 5px;
        }
        
        .file-grid-info {
            font-size: 12px;
            color: #888;
        }
        
        /* Empty States */
        .empty-state {
            text-align: center;
            padding: 40px 0;
            color: #aaa;
        }
        
        .empty-state i {
            font-size: 48px;
            margin-bottom: 15px;
        }
        
        .empty-state-text {
            font-size: 16px;
                text-align: center !important;
        }
        
        /* Floating Add Button */
        .floating-add-btn {
            position: fixed;
            bottom: 160px;
            right: 30px;
            width: 60px;
            height: 60px;
            background-color: green;
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
            cursor: pointer;
            z-index: 100;
            font-size: 24px;
            transition: all 0.2s;
        }
        
        .floating-add-btn:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
        }
        
        /* Modal Styles */
        /* Modal Overlay */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background-color: rgb(0 0 0 / 82%);
            display: none; /* Show this with JS (e.g., display: flex) */
            justify-content: center;
            align-items: center;
            z-index: 1000;
        }
        
        /* Modal Container */
        .modal-container {
            background-color: #fff;
            border-radius: 12px;
            width: 90%;
            max-width: 400px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            overflow: hidden;
            transform: translateY(0); /* Optional for animation */
        }

        .modal-header {
            padding: 1px 13px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid #eee;
            height: 55px;
        }
        
        .modal-title {
            font-size: 18px;
            font-weight: 600;
            text-transform: capitalize;
        }
        
        .close-modal {
            background: none;
            border: none;
            font-size: 24px;
            cursor: pointer;
            color: #aaa;
        }
        
        .modal-options {
            padding: 20px;
            display: flex;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
        }
        
        .modal-option {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
            cursor: pointer;
            padding: 15px;
            border-radius: 8px;
            transition: background-color 0.2s;
                width: 50%;
        }
        
        .modal-option:hover {
            background-color: #f5f7fa;
        }
        
        .option-icon {
            width: 60px;
            height: 60px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .option-text {
            font-size: 14px;
            font-weight: 500;
            text-align: center;
        }
        
        .input-container {
            padding: 20px;
        }
        
        .input-label {
            display: block;
            margin-bottom: 8px;
            font-size: 14px;
            color: #666;
        }
        
        .input-field {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #ddd;
            border-radius: 6px;
            font-size: 16px;
            outline: none;
            transition: border-color 0.2s;
        }
        
        .input-field:focus {
            border-color: #4A6FA5;
        }
        
        .modal-actions {
            padding: 6px 20px;
            display: flex;
            justify-content: flex-end;
            gap: 10px;
            border-top: 1px solid #eee;
        }
        
        .modal-btn {
            padding: 10px 20px;
            border-radius: 6px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .cancel-btn {
            background-color: transparent;
            color: #666;
            border: 1px solid #ddd;
        }
        
        .cancel-btn:hover {
            background-color: #f5f5f5;
        }
        
        .save-btn {
            background-color: #4A6FA5;
            color: white;
            border: none;
        }
        
        .save-btn:hover {
            background-color: #3a5d8f;
        }
        
        /* Message Container */
        .message-container {
            position: fixed;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            background-color: #333;
            color: white;
            padding: 12px 25px;
            border-radius: 30px;
            z-index: 1000;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            display: none;
        }
        
        /* File type colors */
        .pdf-bg {
            background-color: rgba(234, 67, 53, 0.1);
        }
        
        .pdf-color {
            color: #EA4335;
        }
        
        .excel-bg {
            background-color: rgba(33, 150, 83, 0.1);
        }
        
        .excel-color {
            color: #219653;
        }
        
        .word-bg {
            background-color: rgba(74, 111, 165, 0.1);
        }
        
        .word-color {
            color: #4A6FA5;
        }
        
        .ppt-bg {
            background-color: rgba(217, 130, 43, 0.1);
        }
        
        .ppt-color {
            color: #D9822B;
        }
        
        .image-bg {
            background-color: rgba(156, 39, 176, 0.1);
        }
        
        .image-color {
            color: #9C27B0;
        }
        
        .document-bg {
            background-color: rgba(33, 150, 243, 0.1);
        }
        
        .document-color {
            color: #2196F3;
        }
        
        /* Folder colors */
        .folder-blue {
            background-color: rgba(74, 111, 165, 0.1);
            color: #4A6FA5;
        }
        
        .folder-green {
            background-color: rgba(71, 184, 129, 0.1);
            color: #47B881;
        }
        
        .folder-orange {
            background-color: rgba(217, 130, 43, 0.1);
            color: #D9822B;
        }
        
        .folder-purple {
            background-color: rgba(115, 93, 208, 0.1);
            color: #735DD0;
        }
        
        .folder-red {
            background-color: rgba(236, 76, 71, 0.1);
            color: #EC4C47;
        }
        
        /* More options menu */
        .more-options-btn {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            color: #666;
            transition: background-color 0.2s;
            position: absolute;
            top: 10px;
            right: 10px;
        }
        
        .more-options-btn:hover {
            background-color: rgba(0, 0, 0, 0.05);
        }
        
        /* Breadcrumb */
        .breadcrumb {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
            font-size: 14px;
            color: #666;
        }
        
        .breadcrumb-item {
            cursor: pointer;
        }
        
        .breadcrumb-item.current {
            color: #333;
            font-weight: 500;
        }
        
        .breadcrumb-separator {
            margin: 0 8px;
        }
        
        /* Star icon */
        .star-icon {
            color: #F2C94C;
        }
        
        .star-toggle {
            cursor: pointer;
        }
        
        .star-badge {
            position: absolute;
            top: 10px;
            left: 10px;
            width: 24px;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: rgba(242, 201, 76, 0.1);
            border-radius: 50%;
        }
        
        /* Screen styles */
        .screen {
            display: none;
        }
        
        #main-screen {
            display: block;
        }
        
        .screen-header {
            display: flex;
            align-items: center;
            padding: 15px 20px;
            border-bottom: 1px solid #eee;
            background-color: #fff;
            position: sticky;
            top: 0;
            z-index: 100;
        }
        
        .back-button {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            margin-right: 15px;
        }
        
        .back-button:hover {
            background-color: rgba(0, 0, 0, 0.05);
        }
        
        .screen-title {
            flex: 1;
            font-size: 18px;
            font-weight: 600;
        }
        
        .screen-actions {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .action-btn {
            width: 40px;
            height: 40px;
            border-radius: 10%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            color: #666;
            transition: background-color 0.2s;
        }
        
        .action-btn:hover {
            background-color: rgba(0, 0, 0, 0.05);
        }
        
        /* Folder screen */
        .folder-content {
            padding: 20px;
        }
        
        .files-container {
            margin-top: 15px;
        }
        
        .empty-folder-message {
            text-align: center;
            padding: 40px 0;
            color: #aaa;
        }
        
        .empty-folder-message i {
            font-size: 48px;
            margin-bottom: 15px;
        }
        
        /* Search results screen */
        .Organise .search-term-display {
            padding: 15px 20px;
            font-size: 14px;
            color: #666;
        }
        
        .Organise .search-results-container {
            padding: 0 20px 20px;
        }
        
        .results-section {
            margin-bottom: 30px;
        }
        
        .results-section-title {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 15px;
        }
        
        .folder-result-item, .file-result-item {
            display: flex;
            align-items: center;
            padding: 15px;
            border-radius: 8px;
            margin-bottom: 10px;
            cursor: pointer;
            transition: background-color 0.2s;
            position: relative;
            border: 1px solid #eee;
        }
        
        .folder-result-item:hover, .file-result-item:hover {
            background-color: #f9f9f9;
        }
        
        .empty-results-message {
            text-align: center;
            padding: 20px 0;
            color: #aaa;
            font-size: 14px;
        }
        
        /* Search suggestions */
        .Organise .search-suggestions {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background-color: white;
            /*border-radius: 0 0 8px 8px;*/
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            z-index: 200;
            display: none;
        }
        
        .Organise .search-suggestion-item {
            display: flex;
            align-items: center;
            padding: 12px 15px;
            cursor: pointer;
            transition: background-color 0.2s;
        }
        
        .Organise .search-suggestion-item:hover {
            background-color: #f5f7fa;
        }
        
        .suggestion-icon {
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 10px;
        }
        
        .suggestion-name {
            font-size: 14px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        
        /* Quick actions (for swipe) */
        .quick-actions {
            position: absolute;
            top: 0;
            right: 0;
            height: 100%;
            display: flex;
            align-items: center;
        }
        
        .quick-action {
            width: 60px;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
        }
        
        .delete-action {
            background-color: #EC4C47;
        }
        
        .rename-action {
            background-color: #4A6FA5;
        }
        
        .showing-actions {
            transform: translateX(-120px);
            transition: transform 0.3s;
        }
        .grid-action {
            display: flex;
            justify-content: space-between;
        }
        /* Action Options */
        .action-options {
            padding: 20px;
            display: grid;
            gap: 15px;
        }
        
        .action-option {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 15px;
            border-radius: 8px;
            cursor: pointer;
            background-color: #f5f5f5;
            transition: background-color 0.2s, color 0.2s;
            font-size: 16px;
            color: #333;
        }
        .action-option i {
            font-size: 18px;
            color: #666;
        }
        .action-option:hover {
            background-color: #e0e7ff;
            color: #1e40af;
        }
        .action-option:hover i {
            color: #1e40af;
        }
        .action-option.download {
            background-color: #f0fff4; /* Light green background */
            color: #2f855a;            /* Dark green text */
        }
        
        .action-option.download:hover {
            background-color: #c6f6d5; /* Slightly darker on hover */
            color: #276749;
        }
        
        .action-option.download i {
            color: #2f855a;
        }
        
        .action-option.download:hover i {
            color: #276749;
        }

        /* Danger Style */
        .action-option.danger {
            background-color: #fff5f5;
            color: #c53030;
        }
        .action-option.danger:hover {
            background-color: #fed7d7;
            color: #9b2c2c;
        }
        .action-option.danger i {
            color: #c53030;
        }
        .action-option.danger:hover i {
            color: #9b2c2c;
        }
        .grid-more-btn{
            padding: 0 18px;
        }
        
        /*for View*/
        .file-viewer-modal-content {
            width: 90%;
            max-width: 1200px;
            height: 85vh;
            display: flex;
            flex-direction: column;
            padding-top: 0; 
        }
        
        .file-viewer-body {
            flex: 1;
            overflow: hidden;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #f5f5f5;
        }
        
        #file-viewer-container {
            width: 100%;
            height: 100%;
            overflow: auto;
        }
        
        #file-viewer-container iframe, 
        #file-viewer-container img {
            width: 100%;
            height: 100%;
            border: none;
            object-fit: contain;
        }
        
        .file-loading {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(255, 255, 255, 0.8);
            z-index: 2;
        }
        
        .file-loading i {
            font-size: 48px;
            margin-bottom: 10px;
            color: #4A6FA5;
        }
        
        .file-preview-error {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }
        
        .file-preview-error i {
            font-size: 48px;
            margin-bottom: 10px;
            color: #EC4C47;
        }
        
        .file-preview-error p {
            font-size: 16px;
            color: #333;
            text-align: center;
        }
        
        #download-file-btn {
            margin-right: 10px;
        }
        h3#file-viewer-title {
            font-size: 15px;
        }
        
        /*div#add-modal .modal-container {*/
        /*    background-color: rgb(0 0 0 / 0%);*/
            /* border-radius: 12px; */
        /*    width: 90%;*/
        /*    max-width: 400px;*/
            /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); */
        /*    overflow: hidden;*/
        /*    transform: translateY(0);*/
        /*}*/
        /*div#add-modal .option-text {*/
        /*    font-size: 14px;*/
        /*    font-weight: 500;*/
        /*    text-align: center;*/
        /*    color: #fff;*/
        /*}*/
        /*div#add-modal .modal-header {*/
        /*    display: none;*/
        /*}*/
        .modal-option 
        /* Mobile specific styles */
        @media (max-width: 768px) {
            .folders {
                grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
            }
            
            .files-grid {
                grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
            }
            
            .section {
                padding: 15px;
            }
            
            .mobile-layout .section {
                margin-bottom: 15px;
            }
            
            .touch-friendly {
                padding: 12px;
            }
        }
    