/* Media Tools Specific Styles */
/* Global styles are imported from ../../ID-Generator/css/style.css */

/* Local Container Override if needed, or rely on global .container */
.container {
    padding-top: 2rem;
}

/* Header */
.header {
    margin-bottom: 40px;
    text-align: center;
}

.search-container {
    max-width: 480px;
    margin: 24px auto 0;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 16px;
    font-size: 1.2rem;
    pointer-events: none;
    opacity: 0.5;
}

/* Search Input Styles */
#searchInput {
    width: 100%;
    padding: 14px 14px 14px 48px;
    font-size: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    background: var(--card-bg);
    color: var(--text-primary);
    outline: none;
    transition: all 0.2s;
    font-family: inherit;
}

#searchInput:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
}

#searchInput::placeholder {
    color: var(--text-secondary);
}

/* Format Selector */
.format-selector {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.format-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
}

.format-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.format-chip {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.format-chip:hover {
    border-color: var(--accent-color);
    color: var(--text-primary);
}

.format-chip.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(to right, #fff, #888);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Tools Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.tool-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    text-decoration: none;
    transition: all 0.2s ease;
    display: block;
}

.tool-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-4px);
    /* background: var(--bg-secondary); - removed to align with main theme */
}

.tool-icon {
    width: 48px;
    height: 48px;
    background: rgba(139, 92, 246, 0.1);
    color: var(--accent-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.tool-info h2 {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.tool-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.tool-tag {
    display: inline-block;
    padding: 4px 8px;
    background: var(--border-color);
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 16px;
}

/* Footer */
/* Footer styles are handled globally now */
.section-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 32px 0 16px;
    padding-left: 4px;
    border-left: 4px solid var(--accent-color);
}

.footer {
    display: none;
    /* Hide local footer styles as we use global footer */
}

/* Theme Toggle */
/* Theme toggle styles removed - using global nav button */
.theme-toggle {
    display: none;
}

.hidden {
    display: none !important;
}