/* ===================================================================
   KLIPPR - Modern Bookmark Manager
   Reset and Base Styles
=================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

body {
    background: linear-gradient(45deg, #F7E8F6, #E5B0EA, #E1CCEC, #F1C6E7);
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    padding: 20px;
    max-width: 500px;
    margin: 0 auto;
}

/* ===================================================================
   LAYOUT PRINCIPAL
=================================================================== */

.app-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    height: 100vh;
}

#sidebar {
    display: none; /* Hidden on mobile by default */
    flex-direction: column;
    width: 320px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    padding: 20px;
}

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

.sidebar-actions {
    display: flex;
    gap: 8px;
}

.sidebar-btn {
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: #500073;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.sidebar-btn:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
}

#mainContent {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.logo-title {
    font-size: 28px;
    font-weight: 700;
    color: #090040;
    display: flex;
    align-items: center;
}

.logo-icon {
    color: #500073;
    margin-right: 12px;
    font-size: 32px;
}

/* ===================================================================
   HEADER E NAVEGAÇÃO
=================================================================== */

.mobile-header {
    display: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-btn {
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: #500073;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s ease;
}

.header-btn:hover {
    background: rgba(255, 255, 255, 0.5);
}

.mobile-menu-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #090040;
    cursor: pointer;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    z-index: 110;
    transition: left 0.3s ease;
    flex-direction: column;
    padding: 20px;
}

.mobile-nav.visible {
    left: 0;
}

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

.mobile-nav-header h2 {
    color: #090040;
    font-size: 20px;
}

.close-btn {
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #666;
}

.mobile-tabs-container {
    flex-grow: 1;
    overflow-y: auto;
}

/* ===================================================================
   ABAS (TABS)
=================================================================== */

.tabs-container {
    flex-grow: 1;
    margin-bottom: 20px;
}

.tab {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    margin-bottom: 8px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
}

.tab:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(5px);
}

.tab.active {
    background: #500073;
    color: white;
    box-shadow: 0 4px 15px rgba(80, 0, 115, 0.3);
    transform: translateX(5px);
}

.tab-name {
    flex-grow: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.delete-tab-btn {
    background: none;
    border: none;
    color: inherit;
    opacity: 0.6;
    cursor: pointer;
    margin-left: 10px;
    font-size: 14px;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.delete-tab-btn:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
}

.tab.active .delete-tab-btn {
    color: white;
}

.add-tab-btn {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 2px dashed #500073;
    color: #500073;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.add-tab-btn:hover {
    background: rgba(80, 0, 115, 0.1);
    transform: scale(1.02);
}

/* ===================================================================
   HEADER PRINCIPAL
=================================================================== */

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

.current-tab-title {
    font-size: 24px;
    font-weight: 600;
    color: #090040;
    flex-grow: 1;
}

.back-btn {
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: #500073;
    padding: 10px 16px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: translateX(-3px);
}

/* ===================================================================
   CONTROLES DE VISUALIZAÇÃO
=================================================================== */

.view-mode-controls {
    display: flex;
    gap: 5px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 5px;
}

.view-mode-btn {
    background: transparent;
    border: none;
    color: #500073;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
}

.view-mode-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.view-mode-btn.active {
    background: #500073;
    color: white;
}

/* ===================================================================
   MODOS DE VISUALIZAÇÃO
=================================================================== */

.links-grid {
    transition: all 0.3s ease;
}

/* Grid View */
.view-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

/* List View */
.view-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.view-list .link-card,
.view-list .folder-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 15px;
    min-height: auto;
}

.view-list .link-preview {
    width: 60px;
    height: 60px;
    margin-right: 15px;
    flex-shrink: 0;
}

.view-list .folder-icon {
    font-size: 24px;
    margin-right: 15px;
}

.view-list .link-content {
    padding: 0;
    flex: 1;
}

/* Cards View */
.view-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.view-cards .link-card,
.view-cards .folder-card {
    min-height: 200px;
}

/* ===================================================================
   DRAG & DROP
=================================================================== */

.drop-zone {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border: 3px dashed #500073;
    border-radius: 20px;
    background: rgba(80, 0, 115, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.drop-zone-content {
    text-align: center;
    color: #500073;
    font-weight: 600;
}

.drop-zone-content i {
    font-size: 48px;
    margin-bottom: 10px;
    display: block;
}

.dragging {
    opacity: 0.5;
    transform: scale(0.95);
    z-index: 100;
}

.drag-over {
    background: rgba(80, 0, 115, 0.1);
    border: 2px dashed #500073;
}

/* ===================================================================
   CARDS E FOLDERS
=================================================================== */

.link-card, .folder-card {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    /* Drag & Drop */
    cursor: grab;
}

.link-card:hover, .folder-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border-color: rgba(255, 255, 255, 0.4);
}

.link-card:active, .folder-card:active {
    cursor: grabbing;
}

.link-preview {
    width: 100%;
    height: 140px;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.1);
}

.link-content {
    padding: 20px;
}

.link-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 8px;
}

.link-favicon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    flex-shrink: 0;
    margin-top: 2px;
}

.favicon-placeholder {
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #471396;
    font-size: 12px;
}

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

.link-title {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin: 0 0 6px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.link-description {
    color: #666;
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.link-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #999;
    margin-top: 12px;
}

.link-domain {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

/* Notas e Tags */
.item-notes {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.item-note {
    background: rgba(80, 0, 115, 0.1);
    color: #500073;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 8px;
    border-left: 3px solid #500073;
}

.item-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.tag {
    background: #500073;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
}

/* Folder Cards */
.folder-card {
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-align: center;
    min-height: 120px;
}

.folder-icon {
    font-size: 48px;
    color: #500073;
}

.folder-name {
    font-size: 16px;
    font-weight: 600;
    color: #090040;
    word-break: break-word;
}

/* ===================================================================
   ESTADO VAZIO
=================================================================== */

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.empty-icon {
    font-size: 48px;
    color: #500073;
    opacity: 0.3;
    margin-bottom: 16px;
}

.empty-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.empty-subtitle {
    font-size: 14px;
    opacity: 0.7;
}

/* ===================================================================
   BOTTOM SHEET
=================================================================== */

.bottom-sheet {
    position: fixed;
    left: 20%;
    right: 20%;
    bottom: 0;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px 20px 0 0;
    padding: 30px;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.15);
    z-index: 100;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.bottom-sheet.visible {
    transform: translateY(0);
}

.bottom-sheet-handle {
    width: 40px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    margin: 0 auto 20px;
}

.add-item-options {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.option-btn {
    flex: 1;
    padding: 16px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s ease;
    color: #333;
}

.option-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.02);
}

.link-input {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    font-family: inherit;
    font-size: 16px;
    color: #000;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.link-input:focus {
    outline: none;
    border-color: #500073;
    box-shadow: 0 0 0 3px rgba(80, 0, 115, 0.2);
    background: rgba(255, 255, 255, 0.4);
}

.link-input::placeholder {
    color: #666;
}

.add-btn {
    background: linear-gradient(135deg, #B13BFF, #471396);
    color: #fff;
    padding: 16px 32px;
    border-radius: 15px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 25px rgba(177, 59, 255, 0.25);
}

.add-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(177, 59, 255, 0.35);
}

.add-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* ===================================================================
   FLOATING ACTION BUTTONS
=================================================================== */

.fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #B13BFF, #471396);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 8px 25px rgba(177, 59, 255, 0.3);
    z-index: 90;
    transition: all 0.3s ease;
}

.fab:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(177, 59, 255, 0.4);
}

.floating-btn {
    display: none;
}

/* ===================================================================
   MODAIS
=================================================================== */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 110;
}

.modal-content {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 400px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.modal-content.large {
    max-width: 600px;
}

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

.modal-content h4 {
    color: #500073;
    margin-bottom: 10px;
    font-size: 16px;
}

.modal-content p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.4;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.modal-btn {
    padding: 12px 24px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
}

.cancel-btn {
    background: #eee;
    color: #333;
}

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

.confirm-btn {
    background: #500073;
    color: white;
}

.confirm-btn:hover {
    background: #6b0099;
    transform: translateY(-1px);
}

.section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* Notas Modal */
.note-textarea {
    width: 100%;
    min-height: 120px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2);
    font-family: inherit;
    font-size: 14px;
    color: #333;
    resize: vertical;
    margin-bottom: 15px;
}

.note-textarea:focus {
    outline: none;
    border-color: #500073;
    box-shadow: 0 0 0 3px rgba(80, 0, 115, 0.2);
}

.note-tags {
    margin-bottom: 20px;
}

.tag-input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    font-family: inherit;
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
}

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

.tag-removable {
    background: #500073;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.tag-remove {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 14px;
    padding: 0;
    margin-left: 5px;
}

/* View Mode Options */
.view-mode-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.view-mode-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #333;
    font-size: 16px;
}

.view-mode-option:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.02);
}

.view-mode-option.active {
    background: #500073;
    color: white;
    border-color: #500073;
}

.view-mode-option i {
    font-size: 20px;
    width: 24px;
    text-align: center;
}

/* Language Selection */
.language-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #333;
    font-size: 16px;
}

.language-btn:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.02);
}

.flag-icon {
    width: 24px;
    height: 18px;
    border-radius: 2px;
}

/* Import/Export */
.file-input {
    width: 100%;
    padding: 12px;
    border: 2px dashed #500073;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    margin-bottom: 15px;
    font-family: inherit;
    color: #333;
}

.import-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.radio-option:hover {
    background: rgba(255, 255, 255, 0.3);
}

.radio-option input[type="radio"] {
    margin: 0;
}

/* ===================================================================
   OVERLAYS E BACKDROPS
=================================================================== */

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.overlay.visible {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 105;
    display: none;
}

/* ===================================================================
   MENU DE CONTEXTO
=================================================================== */

.context-menu {
    position: fixed;
    z-index: 120;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.context-menu button {
    background: none;
    border: none;
    text-align: left;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: inherit;
    font-size: 14px;
    color: #333;
    transition: background 0.2s ease;
}

.context-menu button:hover {
    background: rgba(0, 0, 0, 0.1);
}

.context-menu button.delete {
    color: #dc3545;
}

.context-menu button.delete:hover {
    background: rgba(220, 53, 69, 0.1);
}

/* ===================================================================
   ANIMAÇÕES
=================================================================== */

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

.fade-in {
    animation: fadeIn 0.3s ease-out;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.pulse {
    animation: pulse 1.5s ease-in-out infinite;
}

/* ===================================================================
   RESPONSIVIDADE
=================================================================== */

@media (max-width: 767px) {
    body {
        padding: 75px 15px 15px 15px;
        max-width: 100%;
    }

    .app-container {
        flex-direction: column;
        height: auto;
    }

    #mainContent {
        padding: 15px 0;
    }

    #sidebar,
    .floating-btn,
    #desktopFloatBtn {
        display: none;
    }

    .main-header {
        flex-wrap: wrap;
        gap: 10px;
    }

    .view-mode-controls {
        display: none; /* Hidden on mobile, use modal instead */
    }

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

    .view-list .link-card,
    .view-list .folder-card {
        flex-direction: column;
        text-align: center;
    }

    .view-list .link-preview {
        width: 100%;
        height: 120px;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .view-list .folder-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .mobile-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        padding: 10px 15px;
        background: rgba(255, 255, 255, 0.3);
        backdrop-filter: blur(15px);
        z-index: 95;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .mobile-header .logo-title {
        font-size: 24px;
        margin-bottom: 0;
    }

    .mobile-header .logo-icon {
        font-size: 28px;
    }

    .bottom-sheet {
        left: 0%;
        right: 0%;
        border-radius: 20px 20px 0 0;
    }

    .modal-content {
        width: 95%;
        padding: 20px;
    }

    .modal-content.large {
        max-width: none;
    }

    .drop-zone {
        width: 150px;
        height: 150px;
    }

    .drop-zone-content i {
        font-size: 32px;
    }
}

@media (min-width: 768px) {
    body {
        padding: 0;
        max-width: none;
    }

    #sidebar {
        display: flex;
    }

    .fab,
    #mobileFab {
        display: none;
    }

    .floating-btn,
    #desktopFloatBtn {
        position: fixed;
        bottom: 30px;
        left: 50%;
        transform: translateX(-50%);
        min-width: 150px;
        border-radius: 30px;
        padding: 12px 20px;
        background: linear-gradient(135deg, #B13BFF, #471396);
        color: #fff;
        border: none;
        cursor: pointer;
        font-weight: 600;
        font-size: 14px;
        box-shadow: 0 8px 25px rgba(177, 59, 255, 0.3);
        z-index: 90;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .floating-btn:hover,
    #desktopFloatBtn:hover {
        transform: translateX(-50%) translateY(-3px);
        box-shadow: 0 15px 40px rgba(177, 59, 255, 0.4);
    }
}

@media (min-width: 1200px) {
    .view-grid {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    }
    
    .view-cards {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}