* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #1a1d29 0%, #2d3748 100%);
    color: white;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 16px;
    padding: 24px;
    
    
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    border-radius: 16px;
    padding: 12px;
    backdrop-filter: blur(10px);
    background: rgba(26, 29, 41, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    background: #e53e3e;
    border-radius: 8px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo::before {
    content: "⚡";
    font-size: 20px;
    color: white;
}

.title {
    font-size: 24px;
    font-weight: 600;
    color: white;
}

.settings-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.settings-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.settings-btn::before {
    content: "⚙️";
    font-size: 16px;
}

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

.page-title {
    font-size: 32px;
    font-weight: 700;
    color: white;
}

.filter-tabs {
    display: flex;
    gap: 8px;
}

.tab {
    padding: 8px 16px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.tab.active {
    background: #e53e3e;
    color: white;
}

.tab:hover:not(.active) {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.extensions-grid {
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 20px;
}

.extension-card {
    
    background: rgba(45, 55, 72, 0.6);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.extension-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.extension-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.extension-card img{
  width: 48px;
}

.extension-info {
    flex: 1;
}

.extension-name {
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
}

.extension-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

.extension-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.remove-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.remove-btn:hover {
    background: rgba(229, 62, 62, 0.2);
    border-color: rgba(229, 62, 62, 0.5);
}

.toggle-switch {
    position: relative;
    width: 44px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-switch.active {
    background: #e53e3e;
}

.toggle-switch::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: all 0.3s ease;
}

.toggle-switch.active::after {
    transform: translateX(20px);
}


@media (max-width: 768px) {
    .extensions-grid {
        grid-template-columns: 1fr;
    }
    
    .sub-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    
    .filter-tabs {
        align-self: stretch;
        justify-content: center;
    }
}