#universal-toolbox-container {
    max-width: 980px;
    margin: auto;
    font-family: Arial, sans-serif;
    padding: 2rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 8px;
}

#tool-search {
    width: 100%;
    padding: 12px;
    margin-bottom: 1rem;
    border-radius: 50px;
    border: none;
    font-size: 16px;
}

#tool-categories {
    margin-bottom: 1.5rem;
}

#tool-categories button {
    margin-right: 0.5rem;
    background: #5A4B8C;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    color: white;
    cursor: pointer;
}

#tool-categories button.active {
    background: #FFD700;
    color: #333333;
}

.tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.tool-item {
    background: #837BC5;
    padding: 1rem;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    transition: background 0.3s ease;
}

.tool-item:hover {
    background: #A9A0F5;
}

.modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal.hidden {
    display: none;
}