
.main {
    background: #27ae60;
    color: #333;
    min-height: 100vh;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.container {
    width: 100%;
    max-width: 1200px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 30px;
    margin-top: 30px;
}



h1 {
    color: #4a5568;
    font-size: 2.2rem;
    margin-bottom: 10px;
}
.description {
    color: #718096;
    font-size: 1.1rem;
    line-height: 1.6;
}
.import-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: #f7fafc;
    border-radius: 10px;
}
.import-btn {
    background: #27ae60;
    color: white;
    border: none;
    padding: 14px 28px;
    font-size: 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
}
.import-btn:hover {
    background: #219653;
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
}
.import-btn:active {
    transform: translateY(0);
}
.note {
    color: #718096;
    font-size: 0.95rem;
    text-align: center;
    max-width: 600px;
}
.bookmarks-container {
    display: none;
    margin-top: 20px;
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
    width: 100%;
}
.bookmarks-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.bookmarks-title {
    font-size: 1.5rem;
    color: #4a5568;
}
.bookmarks-count {
    background: #27ae60;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
}
.bookmarks-table-container {
    max-height: 500px;
    overflow-y: auto;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: white;
}
.bookmarks-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}
.bookmarks-table th {
    background: #f7fafc;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    color: #4a5568;
    border-bottom: 2px solid #e2e8f0;
    position: sticky;
    top: 0;
}
.bookmarks-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #edf2f7;
    vertical-align: top;
}
.bookmarks-table tr:hover {
    background: #f7fafc;
}
.bookmark-name-cell {
    width: 60%;
}
.bookmark-url-cell {
    width: 40%;
}
.bookmark-link {
    color: #4a5568;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}
.bookmark-link:hover {
    color: #27ae60;
}
.bookmark-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}
.bookmark-url {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9em;
    color: #718096;
}
.favicon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
.folder-row {
    background: #f7fafc;
    font-weight: 600;
}
.folder-icon {
    margin-right: 8px;
    color: #27ae60;
}
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #a0aec0;
}
.empty-state i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}
@media (max-width: 768px) {
    .container {
        padding: 20px;
    }
    h1 {
        font-size: 1.8rem;
    }
    .import-btn {
        padding: 12px 20px;
    }
    .bookmarks-table {
        font-size: 0.9rem;
    }
    .bookmarks-table th,
    .bookmarks-table td {
        padding: 8px 10px;
    }
    .bookmark-name-cell {
        width: 50%;
    }
    .bookmark-url-cell {
        width: 50%;
    }
}
